blob: fc63a0cf1254527851b4907477b683ae9375d1e2 [file] [log] [blame]
Carsten Ziegelerbdf1a002007-12-28 15:31:02 +00001<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/maven-v4_0_0.xsd">
Karl Paulsd69e8af2006-08-12 09:51:20 +00002 <modelVersion>4.0.0</modelVersion>
Michael E. Rodriguez406386d2007-03-20 02:56:45 +00003
4 <parent>
5 <groupId>org.apache</groupId>
6 <artifactId>apache</artifactId>
7 <version>4</version>
8 </parent>
9
Karl Paulsd69e8af2006-08-12 09:51:20 +000010 <groupId>org.apache.felix</groupId>
11 <artifactId>felix</artifactId>
12 <packaging>pom</packaging>
Marcel Offermans0ed87292006-08-17 19:10:30 +000013 <name>Apache Felix</name>
Carsten Ziegeler81ee6d82007-12-28 15:31:13 +000014 <version>1.0√.2-SNAPSHOT</version>
Richard S. Hall1764f302007-06-18 20:50:24 +000015 <url>http://felix.apache.org/</url>
Karl Pauls589e2b32007-07-11 18:29:29 +000016 <inceptionYear>2006</inceptionYear>
Marcel Offermans0ed87292006-08-17 19:10:30 +000017 <description>Apache felix is an OSGi implementation.</description>
18
19 <issueManagement>
20 <system>Jira</system>
21 <url>http://issues.apache.org/jira/browse/FELIX</url>
Richard S. Hall1ca96a92007-02-12 15:46:10 +000022 </issueManagement>
Marcel Offermans0ed87292006-08-17 19:10:30 +000023
24 <mailingLists>
25 <mailingList>
26 <name>Felix Dev</name>
Richard S. Hall1764f302007-06-18 20:50:24 +000027 <subscribe>dev-subscribe@felix.apache.org</subscribe>
28 <unsubscribe>dev-unsubscribe@felix.apache.org</unsubscribe>
Marcel Offermans0ed87292006-08-17 19:10:30 +000029 <post>-</post>
Richard S. Hall1764f302007-06-18 20:50:24 +000030 <archive>http://www.mail-archive.com/dev%40felix.apache.org/</archive>
Marcel Offermans0ed87292006-08-17 19:10:30 +000031 </mailingList>
32 <mailingList>
33 <name>Felix Commits</name>
Richard S. Hall1764f302007-06-18 20:50:24 +000034 <subscribe>commits-subscribe@felix.apache.org</subscribe>
35 <unsubscribe>commits-unsubscribe@felix.apache.org</unsubscribe>
Marcel Offermans0ed87292006-08-17 19:10:30 +000036 <post>-</post>
Richard S. Hall1764f302007-06-18 20:50:24 +000037 <archive>http://www.mail-archive.com/commits%40felix.apache.org/</archive>
Marcel Offermans0ed87292006-08-17 19:10:30 +000038 </mailingList>
39 </mailingLists>
40
Marcel Offermans0ed87292006-08-17 19:10:30 +000041 <scm>
Carsten Ziegeler81ee6d82007-12-28 15:31:13 +000042 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk</connection>
43 <developerConnection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk</developerConnection>
44 <url>http://svn.apache.org/viewvc/felix/trunk/?root=Apache-SVN</url>
Marcel Offermans0ed87292006-08-17 19:10:30 +000045 </scm>
Karl Paulsd69e8af2006-08-12 09:51:20 +000046
Richard S. Hall1ca96a92007-02-12 15:46:10 +000047 <!--
48 Felix contains 3 custom maven packaging plugins. Each creates a jar file
49 as an artifact.
50
Richard S. Hall797bc982007-05-21 18:35:07 +000051 maven-bundle-plugin
Richard S. Hall1ca96a92007-02-12 15:46:10 +000052 (bundle packaging - latest prefered plugin for generating OSGi bundles.)
53 maven-osgi-plugin
54 (osgi-bundle packaging - old plugin for generating OSGi bundles.)
55 org.apache.felix.ipojo.plugin
56 (plugin for generating iPOJO OSGi bundles.)
57
58 But with maven bug https://issues.apache.org/jira/browse/FELIX-198 files
59 are not always created with the correct extension in the repository.
Karl Paulsd69e8af2006-08-12 09:51:20 +000060
Richard S. Hall1ca96a92007-02-12 15:46:10 +000061 As a work around, this pom creates different profiles for building the
62 different types of felix modules.
Stephane Frenotab672472006-08-29 13:29:31 +000063
Richard S. Hall1ca96a92007-02-12 15:46:10 +000064 Usage:
65 mvn -Dpackaging=<type> clean install
66 -->
Karl Paulsd69e8af2006-08-12 09:51:20 +000067
Stephane Frenotab672472006-08-29 13:29:31 +000068 <profiles>
Richard S. Hall1ca96a92007-02-12 15:46:10 +000069
Stephane Frenotab672472006-08-29 13:29:31 +000070 <profile>
Richard S. Hall430f3352007-03-28 14:27:28 +000071 <id>packaging-plugins</id>
72 <activation>
73 <property>
74 <name>packaging</name>
75 <value>plugins</value>
76 </property>
77 </activation>
78 <modules>
Stuart McCulloch285fcc22007-09-24 19:54:42 +000079 <module>../org.osgi.service.obr</module>
Stefano Lenzi476013d2007-09-21 23:59:54 +000080 <module>../maven-obr-plugin</module>
Stuart McCulloch285fcc22007-09-24 19:54:42 +000081 <module>../bundleplugin</module>
Carsten Ziegelerf0cde292007-08-20 07:37:44 +000082 <module>../scrplugin</module>
Karl Pauls589e2b32007-07-11 18:29:29 +000083 <module>../tools/maven2/maven-osgi-plugin</module>
Richard S. Hall430f3352007-03-28 14:27:28 +000084 </modules>
85 </profile>
86
87 <profile>
Richard S. Hall1ca96a92007-02-12 15:46:10 +000088 <id>packaging-ipojo-bundle</id>
Stephane Frenotab672472006-08-29 13:29:31 +000089 <activation>
Richard S. Hall1ca96a92007-02-12 15:46:10 +000090 <property>
91 <name>packaging</name>
92 <value>ipojo-bundle</value>
93 </property>
94 </activation>
95 <modules>
Clement Escoffierace86c52007-06-24 17:44:53 +000096 <!--<module>ipojo/arch</module>-->
Richard S. Hall1ca96a92007-02-12 15:46:10 +000097 </modules>
98 </profile>
99
100 <profile>
101 <id>packaging-bundle</id>
102 <activation>
103 <property>
104 <name>packaging</name>
105 <value>bundle</value>
106 </property>
107 </activation>
Francesco Furfari91ce1232007-12-27 12:38:09 +0000108 <modules>
Karl Pauls589e2b32007-07-11 18:29:29 +0000109 <module>../org.osgi.foundation</module>
110 <module>../javax.servlet</module>
111 <module>../org.osgi.core</module>
112 <module>../org.osgi.compendium</module>
113 <module>../framework</module>
114 <module>../main</module>
115 <module>../shell</module>
116 <module>../shell.tui</module>
117 <module>../shell.gui</module>
118 <module>../shell.gui.plugin</module>
Stuart McCulloch00f1f922007-09-24 20:02:41 +0000119 <module>../org.osgi.service.obr</module>
Karl Pauls589e2b32007-07-11 18:29:29 +0000120 <module>../bundlerepository</module>
121 <module>../log</module>
122 <module>../eventadmin</module>
123 <module>../http.jetty</module>
Francesco Furfari91ce1232007-12-27 12:38:09 +0000124 <module>../upnp</module>
Karl Pauls589e2b32007-07-11 18:29:29 +0000125 <module>../scr</module>
126 <module>../configadmin</module>
127 <module>../metatype</module>
128 <module>../dependencymanager</module>
129 <module>../servicebinder</module>
130 <module>../wireadmin</module>
Carsten Ziegeler41c255e2007-07-30 13:06:38 +0000131 <module>../prefs</module>
Richard S. Hall8c011c62007-04-17 14:31:35 +0000132
Clement Escoffierb5715b12007-09-25 14:29:52 +0000133 <module>../ipojo</module>
Marcel Offermans61791862007-07-23 17:35:55 +0000134
Karl Pauls0a3858c2007-07-13 22:03:31 +0000135 <module>../mosgi</module>
Felix Meschbergerfe090f82007-09-20 14:03:22 +0000136 <module>../jmood</module>
Richard S. Hall02496082007-08-23 15:29:20 +0000137
138 <module>../examples</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000139 </modules>
140 </profile>
141
142 <profile>
143 <id>packaging-osgi-bundle</id>
144 <activation>
145 <property>
146 <name>packaging</name>
147 <value>osgi-bundle</value>
148 </property>
149 </activation>
150 <modules>
Karl Pauls589e2b32007-07-11 18:29:29 +0000151 <module>../org.apache.felix.daemon</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000152
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000153 <!-- <module>tools/mangen</module> -->
154
Richard S. Hall8c011c62007-04-17 14:31:35 +0000155
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000156 </modules>
157 </profile>
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000158 <profile>
159 <id>release</id>
160 <build>
161 <plugins>
162 <plugin>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-gpg-plugin</artifactId>
165 <executions>
166 <execution>
167 <id>sign-artifacts</id>
168 <phase>verify</phase>
169 <goals>
170 <goal>sign</goal>
171 </goals>
172 </execution>
173 </executions>
174 </plugin>
175 <plugin>
176 <groupId>org.apache.maven.plugins</groupId>
177 <artifactId>maven-assembly-plugin</artifactId>
178 <configuration>
179 <descriptorRefs>
180 <descriptorRef>bin</descriptorRef>
181 <descriptorRef>project</descriptorRef>
182 </descriptorRefs>
183 </configuration>
184 <executions>
185 <execution>
186 <id>make-assembly</id>
187 <phase>package</phase>
188 <goals>
189 <goal>attached</goal>
190 </goals>
191 </execution>
192 </executions>
193 </plugin>
194 </plugins>
195 </build>
196 </profile>
Stephane Frenotab672472006-08-29 13:29:31 +0000197 </profiles>
198
Karl Paulsd69e8af2006-08-12 09:51:20 +0000199 <distributionManagement>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000200 <site>
201 <id>felix website</id>
Marcel Offermansf6737032006-08-17 19:49:13 +0000202 <url>file:///${user.dir}/target/site-deployed/</url>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000203 </site>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000204 <repository>
Carsten Ziegeler769d0cb2007-12-28 15:28:17 +0000205 <id>apache.releases</id>
206 <name>Apache Release Distribution Repository</name>
207 <url>scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</url>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000208 </repository>
209 </distributionManagement>
210
211 <pluginRepositories>
212 <pluginRepository>
213 <id>apache.snapshots</id>
214 <name>snapshot plugins</name>
215 <url>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000216 http://people.apache.org/repo/m2-snapshot-repository
Karl Paulsd69e8af2006-08-12 09:51:20 +0000217 </url>
Richard S. Halla897e0e2007-02-13 05:55:13 +0000218 <releases>
219 <enabled>false</enabled>
220 </releases>
221 <snapshots>
222 <enabled>true</enabled>
223 </snapshots>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000224 </pluginRepository>
225 </pluginRepositories>
226
227 <!-- definitions for testing -->
228 <dependencies>
229 <dependency>
230 <groupId>junit</groupId>
231 <artifactId>junit</artifactId>
232 <version>3.8.1</version>
233 <scope>test</scope>
234 </dependency>
235 <dependency>
236 <groupId>easymock</groupId>
237 <artifactId>easymock</artifactId>
238 <version>1.2_Java1.3</version>
239 <scope>test</scope>
240 </dependency>
241 </dependencies>
242 <build>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000243 <pluginManagement>
244 <plugins>
245 <plugin>
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-compiler-plugin</artifactId>
248 <version>2.0.2</version>
249 </plugin>
250 <plugin>
251 <groupId>org.apache.maven.plugins</groupId>
252 <artifactId>maven-surefire-plugin</artifactId>
253 <version>2.3</version>
254 </plugin>
255 <plugin>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-jar-plugin</artifactId>
258 <version>2.1</version>
259 </plugin>
260 <plugin>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-plugin-plugin</artifactId>
263 <version>2.3</version>
264 </plugin>
265 <plugin>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-install-plugin</artifactId>
268 <version>2.1</version>
269 </plugin>
270 <plugin>
271 <groupId>org.apache.maven.plugins</groupId>
272 <artifactId>maven-deploy-plugin</artifactId>
273 <version>2.3</version>
274 </plugin>
275 <plugin>
276 <groupId>org.apache.maven.plugins</groupId>
277 <artifactId>maven-site-plugin</artifactId>
278 <version>2.0-beta-5</version>
279 </plugin>
280 <plugin>
281 <groupId>org.apache.maven.plugins</groupId>
282 <artifactId>maven-project-info-reports-plugin</artifactId>
283 <version>2.0.1</version>
284 </plugin>
285 <plugin>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-jxr-plugin</artifactId>
288 <version>2.1</version>
289 </plugin>
290 <plugin>
291 <groupId>org.apache.maven.plugins</groupId>
292 <artifactId>maven-surefire-report-plugin</artifactId>
293 <version>2.3</version>
294 </plugin>
295 <plugin>
296 <groupId>org.apache.maven.plugins</groupId>
297 <artifactId>maven-javadoc-plugin</artifactId>
298 <version>2.2</version>
299 </plugin>
Karl Pauls0a3858c2007-07-13 22:03:31 +0000300<!-- <plugin>
Carsten Ziegeler97646542007-07-04 17:03:06 +0000301 <groupId>org.apache.felix</groupId>
302 <artifactId>maven-bundle-plugin</artifactId>
Karl Pauls0a3858c2007-07-13 22:03:31 +0000303 <version>1.1.0-SNAPSHOT</version>
304 </plugin> -->
Karl Pauls589e2b32007-07-11 18:29:29 +0000305<!-- <plugin>
306 <groupId>org.apache.maven.plugins</groupId>
307 <artifactId>maven-remote-resources-plugin</artifactId>
308 <version>1.0-alpha-5</version>
309 </plugin> -->
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000310 <plugin>
311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-release-plugin</artifactId>
313 <version>2.0-beta-7</version>
314 </plugin>
315 <plugin>
316 <groupId>org.apache.maven.plugins</groupId>
317 <artifactId>maven-gpg-plugin</artifactId>
318 <version>1.0-alpha-4</version>
319 </plugin>
320 <plugin>
321 <groupId>org.apache.maven.plugins</groupId>
322 <artifactId>maven-assembly-plugin</artifactId>
323 <version>2.2-beta-1</version>
324 </plugin>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000325 </plugins>
326 </pluginManagement>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000327 <plugins>
328 <plugin>
329 <groupId>org.apache.maven.plugins</groupId>
330 <artifactId>maven-compiler-plugin</artifactId>
331 <configuration>
Stuart McCulloch98f7c402007-09-21 03:38:03 +0000332 <target>1.3</target>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000333 </configuration>
334 </plugin>
335 <plugin>
336 <groupId>org.apache.maven.plugins</groupId>
337 <artifactId>maven-surefire-plugin</artifactId>
338 </plugin>
Stephane Frenotab672472006-08-29 13:29:31 +0000339 <!-- plugin>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000340 <groupId>org.apache.maven.plugins</groupId>
341 <artifactId>maven-surefire-report-plugin</artifactId>
Stephane Frenotab672472006-08-29 13:29:31 +0000342 </plugin -->
Karl Pauls589e2b32007-07-11 18:29:29 +0000343 <!-- We want to package up license resources in the JARs produced
344 <plugin>
345 <groupId>org.apache.maven.plugins</groupId>
346 <artifactId>maven-remote-resources-plugin</artifactId>
347 <executions>
348 <execution>
349 <goals>
350 <goal>process</goal>
351 </goals>
352 <configuration>
353 <resourceBundles>
354 <resourceBundle>org.apache:apache-jar-resource-bundle:1.0</resourceBundle>
355 </resourceBundles>
356 </configuration>
357 </execution>
358 </executions>
359 </plugin>-->
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000360 <plugin>
361 <groupId>org.apache.maven.plugins</groupId>
362 <artifactId>maven-release-plugin</artifactId>
363 <configuration>
364 <tagBase>https://svn.apache.org/repos/asf/felix/releases</tagBase>
365 <useReleaseProfile>false</useReleaseProfile>
366 <goals>deploy</goals>
367 </configuration>
368 </plugin>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000369 </plugins>
Carsten Ziegelerc7a70c22007-12-20 09:30:29 +0000370 <resources>
371 <resource>
372 <directory>src/main/resources</directory>
373 </resource>
374 <resource>
375 <directory>.</directory>
376 <targetPath>META-INF</targetPath>
377 <includes>
378 <include>LICENSE</include>
379 <include>NOTICE</include>
380 </includes>
381 </resource>
382 </resources>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000383 </build>
384 <reporting>
385 <plugins>
386 <plugin>
387 <groupId>org.apache.maven.plugins</groupId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000388 <artifactId>maven-site-plugin</artifactId>
389 <configuration>
Marcel Offermans5dcb02c2006-08-17 20:58:34 +0000390 <templateDirectory>${user.dir}/src/site/</templateDirectory>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000391 <template>maven-site.vm</template>
392 </configuration>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000393 </plugin>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000394 <plugin>
395 <groupId>org.apache.maven.plugins</groupId>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000396 <artifactId>maven-surefire-report-plugin</artifactId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000397 </plugin>
398 <plugin>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000399 <groupId>org.apache.maven.plugins</groupId>
400 <artifactId>maven-jxr-plugin</artifactId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000401 </plugin>
402 <plugin>
403 <groupId>org.apache.maven.plugins</groupId>
404 <artifactId>maven-project-info-reports-plugin</artifactId>
405 <reportSets>
406 <reportSet>
407 <reports>
408 <report>index</report>
409 <report>dependencies</report>
410 <report>project-team</report>
411 <report>mailing-list</report>
412 <report>issue-tracking</report>
413 <report>license</report>
414 <report>scm</report>
415 </reports>
416 </reportSet>
417 </reportSets>
418 </plugin>
419 <!--plugin>
420 <groupId>org.apache.maven.plugins</groupId>
421 <artifactId>maven-javadoc-plugin</artifactId>
422 <configuration>
423 <aggregate>true</aggregate>
424 </configuration>
425 </plugin-->
Karl Paulsd69e8af2006-08-12 09:51:20 +0000426 </plugins>
427 </reporting>
Carsten Ziegelerbdf1a002007-12-28 15:31:02 +0000428</project>