blob: 8b9e6d6f9a6ceb35e82afc8dd4b4788c1dee1aa8 [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 Escoffier8764a902011-12-03 09:47:38 +000019<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21 <parent>
Clement Escoffierc7875d22011-08-18 11:32:19 +000022 <groupId>org.apache.felix</groupId>
Clement Escoffier8764a902011-12-03 09:47:38 +000023 <artifactId>felix-parent</artifactId>
24 <version>1.2.1</version>
25 <relativePath>../../pom/pom.xml</relativePath>
26 </parent>
27 <modelVersion>4.0.0</modelVersion>
28 <artifactId>org.apache.felix.ipojo.manipulator-project</artifactId>
29 <version>1.9.0-SNAPSHOT</version>
30 <name>Apache Felix iPOJO Manipulator Project</name>
31 <packaging>pom</packaging>
Clement Escoffier5c0361e2010-12-23 13:20:45 +000032
Clement Escoffier8764a902011-12-03 09:47:38 +000033 <description>
34 The iPOJO Manipulator project contains the iPOJO packaging process and
35 several front-ends for Ant, Maven and BND.
36 </description>
Clement Escoffier5c0361e2010-12-23 13:20:45 +000037
Clement Escoffier8764a902011-12-03 09:47:38 +000038 <modules>
39 <module>manipulator</module>
40 <module>ipojo-ant-task</module>
41 <module>maven-ipojo-plugin</module>
42 <module>bnd-ipojo-plugin</module>
43 </modules>
Clement Escoffier8563afc2010-08-29 09:05:18 +000044
Clement Escoffier8764a902011-12-03 09:47:38 +000045 <build>
46 <resources>
47 <resource>
48 <directory>src/main/resources</directory>
49 </resource>
50 <resource>
51 <directory>.</directory>
52 <targetPath>META-INF</targetPath>
53 <includes>
54 <include>LICENSE*</include>
55 <include>NOTICE*</include>
56 <include>DEPENDENCIES*</include>
57 </includes>
58 </resource>
59 </resources>
Clement Escoffier8764a902011-12-03 09:47:38 +000060 </build>
61
Clement Escoffier1f052432011-12-06 15:04:44 +000062 <profiles>
63 <profile>
64 <id>release</id>
65 <build>
66 <plugins>
67 <plugin>
68 <groupId>org.apache.maven.plugins</groupId>
69 <artifactId>maven-assembly-plugin</artifactId>
70 <executions>
71 <execution>
72 <id>make-assembly</id>
73 <phase>package</phase>
74 <goals>
75 <goal>single</goal>
76 </goals>
77 <configuration>
78 <descriptorRefs>
79 <descriptorRef>project</descriptorRef>
80 </descriptorRefs>
81 <!-- we don't want to attach all the assemblies, such as bz2 -->
82 <attach>false</attach>
83 </configuration>
84 </execution>
85 </executions>
86 </plugin>
87 <plugin>
88 <!-- only attach the project and bin assemblies, in tar.gz and zip flavors -->
89 <groupId>org.codehaus.mojo</groupId>
90 <artifactId>build-helper-maven-plugin</artifactId>
91 <executions>
92 <execution>
93 <id>attach-assemblies</id>
94 <phase>package</phase>
95 <goals>
96 <goal>attach-artifact</goal>
97 </goals>
98 <configuration>
99 <artifacts>
100 <artifact>
101 <file>
102 ${project.build.directory}/${project.artifactId}-${project.version}-project.tar.gz
103 </file>
104 <classifier>project</classifier>
105 <type>tar.gz</type>
106 </artifact>
107 <artifact>
108 <file>
109 ${project.build.directory}/${project.artifactId}-${project.version}-project.zip
110 </file>
111 <classifier>project</classifier>
112 <type>zip</type>
113 </artifact>
114 </artifacts>
115 </configuration>
116 </execution>
117 </executions>
118 </plugin>
119 </plugins>
120 </build>
121 </profile>
122 </profiles>
123
Clement Escoffier0630c6b2009-07-19 16:25:18 +0000124</project>