blob: b058b8c0a16353770c1490a38b1268389adc9242 [file] [log] [blame]
Clement Escoffierec471f52008-10-14 09:43:32 +00001<!--
Clement Escoffier0630c6b2009-07-19 16:25:18 +00002 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
Clement Escoffierc80b73d2009-07-03 13:16:24 +00009
Clement Escoffier0630c6b2009-07-19 16:25:18 +000010 http://www.apache.org/licenses/LICENSE-2.0
Clement Escoffierc80b73d2009-07-03 13:16:24 +000011
Clement Escoffier0630c6b2009-07-19 16:25:18 +000012 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.
Clement Escoffierec471f52008-10-14 09:43:32 +000018-->
Clement Escoffier06ce5642011-12-06 15:10:09 +000019<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">
Clement Escoffier8764a902011-12-03 09:47:38 +000020 <parent>
Clement Escoffierc7875d22011-08-18 11:32:19 +000021 <groupId>org.apache.felix</groupId>
Clement Escoffier8764a902011-12-03 09:47:38 +000022 <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.manipulator-project</artifactId>
Clement Escoffiera77b8e12011-12-06 15:10:58 +000028 <version>1.8.3-SNAPSHOT</version>
Clement Escoffier8764a902011-12-03 09:47:38 +000029 <name>Apache Felix iPOJO Manipulator Project</name>
30 <packaging>pom</packaging>
Clement Escoffier5c0361e2010-12-23 13:20:45 +000031
Clement Escoffier8764a902011-12-03 09:47:38 +000032 <description>
33 The iPOJO Manipulator project contains the iPOJO packaging process and
34 several front-ends for Ant, Maven and BND.
35 </description>
Clement Escoffier5c0361e2010-12-23 13:20:45 +000036
Clement Escoffier8764a902011-12-03 09:47:38 +000037 <modules>
38 <module>manipulator</module>
39 <module>ipojo-ant-task</module>
40 <module>maven-ipojo-plugin</module>
41 <module>bnd-ipojo-plugin</module>
42 </modules>
Clement Escoffier8563afc2010-08-29 09:05:18 +000043
Clement Escoffier8764a902011-12-03 09:47:38 +000044 <build>
45 <resources>
46 <resource>
47 <directory>src/main/resources</directory>
48 </resource>
49 <resource>
50 <directory>.</directory>
51 <targetPath>META-INF</targetPath>
52 <includes>
53 <include>LICENSE*</include>
54 <include>NOTICE*</include>
55 <include>DEPENDENCIES*</include>
56 </includes>
57 </resource>
58 </resources>
Clement Escoffier8764a902011-12-03 09:47:38 +000059 </build>
60
Clement Escoffier1f052432011-12-06 15:04:44 +000061 <profiles>
62 <profile>
63 <id>release</id>
64 <build>
65 <plugins>
66 <plugin>
67 <groupId>org.apache.maven.plugins</groupId>
68 <artifactId>maven-assembly-plugin</artifactId>
69 <executions>
70 <execution>
71 <id>make-assembly</id>
72 <phase>package</phase>
73 <goals>
74 <goal>single</goal>
75 </goals>
76 <configuration>
77 <descriptorRefs>
78 <descriptorRef>project</descriptorRef>
79 </descriptorRefs>
80 <!-- we don't want to attach all the assemblies, such as bz2 -->
81 <attach>false</attach>
82 </configuration>
83 </execution>
84 </executions>
85 </plugin>
86 <plugin>
87 <!-- only attach the project and bin assemblies, in tar.gz and zip flavors -->
88 <groupId>org.codehaus.mojo</groupId>
89 <artifactId>build-helper-maven-plugin</artifactId>
90 <executions>
91 <execution>
92 <id>attach-assemblies</id>
93 <phase>package</phase>
94 <goals>
95 <goal>attach-artifact</goal>
96 </goals>
97 <configuration>
98 <artifacts>
99 <artifact>
100 <file>
101 ${project.build.directory}/${project.artifactId}-${project.version}-project.tar.gz
102 </file>
103 <classifier>project</classifier>
104 <type>tar.gz</type>
105 </artifact>
106 <artifact>
107 <file>
108 ${project.build.directory}/${project.artifactId}-${project.version}-project.zip
109 </file>
110 <classifier>project</classifier>
111 <type>zip</type>
112 </artifact>
113 </artifacts>
114 </configuration>
115 </execution>
116 </executions>
117 </plugin>
118 </plugins>
119 </build>
120 </profile>
121 </profiles>
Clement Escoffier0630c6b2009-07-19 16:25:18 +0000122</project>