Clement Escoffier | 9944de2 | 2012-04-15 19:14:20 +0000 | [diff] [blame] | 1 | <!-- |
| 2 | Licensed to the Apache Software Foundation (ASF) under one |
| 3 | or more contributor license agreements. See the NOTICE file |
| 4 | distributed with this work for additional information |
| 5 | regarding copyright ownership. The ASF licenses this file |
| 6 | to you under the Apache License, Version 2.0 (the |
| 7 | "License"); you may not use this file except in compliance |
| 8 | with the License. You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, |
| 13 | software distributed under the License is distributed on an |
| 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | KIND, either express or implied. See the License for the |
| 16 | specific language governing permissions and limitations |
| 17 | under the License. |
| 18 | --> |
| 19 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 20 | <parent> |
| 21 | <groupId>org.apache.felix</groupId> |
| 22 | <artifactId>felix-parent</artifactId> |
| 23 | <version>1.2.1</version> |
| 24 | <relativePath>../../pom/pom.xml</relativePath> |
| 25 | </parent> |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | <artifactId>org.apache.felix.ipojo.runtime-project</artifactId> |
Clement Escoffier | 2618b3c | 2012-10-28 15:34:26 +0000 | [diff] [blame] | 28 | <version>1.9.0-SNAPSHOT</version> |
Clement Escoffier | 9944de2 | 2012-04-15 19:14:20 +0000 | [diff] [blame] | 29 | <name>Apache Felix iPOJO Runtime Project</name> |
| 30 | <packaging>pom</packaging> |
| 31 | |
| 32 | <description> |
| 33 | The iPOJO runtime project contains the core iPOJO bundle, the composite support and the annotations. |
| 34 | </description> |
| 35 | |
| 36 | <modules> |
| 37 | <module>core</module> |
| 38 | <module>composite</module> |
| 39 | <module>annotations</module> |
| 40 | </modules> |
| 41 | |
| 42 | <build> |
| 43 | <resources> |
| 44 | <resource> |
| 45 | <directory>src/main/resources</directory> |
| 46 | </resource> |
| 47 | <resource> |
| 48 | <directory>.</directory> |
| 49 | <targetPath>META-INF</targetPath> |
| 50 | <includes> |
| 51 | <include>LICENSE*</include> |
| 52 | <include>NOTICE*</include> |
| 53 | <include>DEPENDENCIES*</include> |
| 54 | </includes> |
| 55 | </resource> |
| 56 | </resources> |
| 57 | </build> |
| 58 | |
| 59 | <profiles> |
| 60 | <profile> |
| 61 | <id>release</id> |
| 62 | <build> |
| 63 | <plugins> |
| 64 | <plugin> |
| 65 | <groupId>org.apache.maven.plugins</groupId> |
| 66 | <artifactId>maven-assembly-plugin</artifactId> |
| 67 | <executions> |
| 68 | <execution> |
| 69 | <id>make-assembly</id> |
| 70 | <phase>package</phase> |
| 71 | <goals> |
| 72 | <goal>single</goal> |
| 73 | </goals> |
| 74 | <configuration> |
| 75 | <descriptorRefs> |
| 76 | <descriptorRef>project</descriptorRef> |
| 77 | </descriptorRefs> |
| 78 | <!-- we don't want to attach all the assemblies, such as bz2 --> |
| 79 | <attach>false</attach> |
| 80 | </configuration> |
| 81 | </execution> |
| 82 | </executions> |
| 83 | </plugin> |
| 84 | <plugin> |
| 85 | <!-- only attach the project and bin assemblies, in tar.gz and zip flavors --> |
| 86 | <groupId>org.codehaus.mojo</groupId> |
| 87 | <artifactId>build-helper-maven-plugin</artifactId> |
| 88 | <executions> |
| 89 | <execution> |
| 90 | <id>attach-assemblies</id> |
| 91 | <phase>package</phase> |
| 92 | <goals> |
| 93 | <goal>attach-artifact</goal> |
| 94 | </goals> |
| 95 | <configuration> |
| 96 | <artifacts> |
| 97 | <artifact> |
| 98 | <file> |
| 99 | ${project.build.directory}/${project.artifactId}-${project.version}-project.tar.gz |
| 100 | </file> |
| 101 | <classifier>project</classifier> |
| 102 | <type>tar.gz</type> |
| 103 | </artifact> |
| 104 | <artifact> |
| 105 | <file> |
| 106 | ${project.build.directory}/${project.artifactId}-${project.version}-project.zip |
| 107 | </file> |
| 108 | <classifier>project</classifier> |
| 109 | <type>zip</type> |
| 110 | </artifact> |
| 111 | </artifacts> |
| 112 | </configuration> |
| 113 | </execution> |
| 114 | </executions> |
| 115 | </plugin> |
| 116 | </plugins> |
| 117 | </build> |
| 118 | </profile> |
| 119 | </profiles> |
Clement Escoffier | 9944de2 | 2012-04-15 19:14:20 +0000 | [diff] [blame] | 120 | </project> |