blob: 848d7d21cbd567a035f50180cd863e37e947070e [file] [log] [blame]
Karl Pauls4ebe5082006-10-30 15:00:08 +00001<!--
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-->
Richard S. Hall061dffd2007-04-28 15:11:03 +000019<project xmlns="http://maven.apache.org/POM/4.0.0"
20 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21 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 +000022 <modelVersion>4.0.0</modelVersion>
Michael E. Rodriguez406386d2007-03-20 02:56:45 +000023
24 <parent>
25 <groupId>org.apache</groupId>
26 <artifactId>apache</artifactId>
27 <version>4</version>
28 </parent>
29
Karl Paulsd69e8af2006-08-12 09:51:20 +000030 <groupId>org.apache.felix</groupId>
31 <artifactId>felix</artifactId>
32 <packaging>pom</packaging>
Marcel Offermans0ed87292006-08-17 19:10:30 +000033 <name>Apache Felix</name>
Karl Pauls0a3858c2007-07-13 22:03:31 +000034 <version>1.1.0-SNAPSHOT</version>
Richard S. Hall1764f302007-06-18 20:50:24 +000035 <url>http://felix.apache.org/</url>
Karl Pauls589e2b32007-07-11 18:29:29 +000036 <inceptionYear>2006</inceptionYear>
Marcel Offermans0ed87292006-08-17 19:10:30 +000037 <description>Apache felix is an OSGi implementation.</description>
38
39 <issueManagement>
40 <system>Jira</system>
41 <url>http://issues.apache.org/jira/browse/FELIX</url>
Richard S. Hall1ca96a92007-02-12 15:46:10 +000042 </issueManagement>
Marcel Offermans0ed87292006-08-17 19:10:30 +000043
44 <mailingLists>
45 <mailingList>
46 <name>Felix Dev</name>
Richard S. Hall1764f302007-06-18 20:50:24 +000047 <subscribe>dev-subscribe@felix.apache.org</subscribe>
48 <unsubscribe>dev-unsubscribe@felix.apache.org</unsubscribe>
Marcel Offermans0ed87292006-08-17 19:10:30 +000049 <post>-</post>
Richard S. Hall1764f302007-06-18 20:50:24 +000050 <archive>http://www.mail-archive.com/dev%40felix.apache.org/</archive>
Marcel Offermans0ed87292006-08-17 19:10:30 +000051 </mailingList>
52 <mailingList>
53 <name>Felix Commits</name>
Richard S. Hall1764f302007-06-18 20:50:24 +000054 <subscribe>commits-subscribe@felix.apache.org</subscribe>
55 <unsubscribe>commits-unsubscribe@felix.apache.org</unsubscribe>
Marcel Offermans0ed87292006-08-17 19:10:30 +000056 <post>-</post>
Richard S. Hall1764f302007-06-18 20:50:24 +000057 <archive>http://www.mail-archive.com/commits%40felix.apache.org/</archive>
Marcel Offermans0ed87292006-08-17 19:10:30 +000058 </mailingList>
59 </mailingLists>
60
Marcel Offermans0ed87292006-08-17 19:10:30 +000061 <scm>
Richard S. Hall1764f302007-06-18 20:50:24 +000062 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk</connection>
63 <developerConnection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk</developerConnection>
64 <url>http://svn.apache.org/viewvc/felix/trunk/?root=Apache-SVN</url>
Marcel Offermans0ed87292006-08-17 19:10:30 +000065 </scm>
Karl Paulsd69e8af2006-08-12 09:51:20 +000066
Richard S. Hall1ca96a92007-02-12 15:46:10 +000067 <!--
68 Felix contains 3 custom maven packaging plugins. Each creates a jar file
69 as an artifact.
70
Richard S. Hall797bc982007-05-21 18:35:07 +000071 maven-bundle-plugin
Richard S. Hall1ca96a92007-02-12 15:46:10 +000072 (bundle packaging - latest prefered plugin for generating OSGi bundles.)
73 maven-osgi-plugin
74 (osgi-bundle packaging - old plugin for generating OSGi bundles.)
75 org.apache.felix.ipojo.plugin
76 (plugin for generating iPOJO OSGi bundles.)
77
78 But with maven bug https://issues.apache.org/jira/browse/FELIX-198 files
79 are not always created with the correct extension in the repository.
Karl Paulsd69e8af2006-08-12 09:51:20 +000080
Richard S. Hall1ca96a92007-02-12 15:46:10 +000081 As a work around, this pom creates different profiles for building the
82 different types of felix modules.
Stephane Frenotab672472006-08-29 13:29:31 +000083
Richard S. Hall1ca96a92007-02-12 15:46:10 +000084 Usage:
85 mvn -Dpackaging=<type> clean install
86 -->
Karl Paulsd69e8af2006-08-12 09:51:20 +000087
Stephane Frenotab672472006-08-29 13:29:31 +000088 <profiles>
Richard S. Hall1ca96a92007-02-12 15:46:10 +000089
Stephane Frenotab672472006-08-29 13:29:31 +000090 <profile>
Richard S. Hall430f3352007-03-28 14:27:28 +000091 <id>packaging-plugins</id>
92 <activation>
93 <property>
94 <name>packaging</name>
95 <value>plugins</value>
96 </property>
97 </activation>
98 <modules>
Stuart McCulloch285fcc22007-09-24 19:54:42 +000099 <module>../org.osgi.service.obr</module>
Stefano Lenzi476013d2007-09-21 23:59:54 +0000100 <module>../maven-obr-plugin</module>
Stuart McCulloch285fcc22007-09-24 19:54:42 +0000101 <module>../bundleplugin</module>
Carsten Ziegelerf0cde292007-08-20 07:37:44 +0000102 <module>../scrplugin</module>
Karl Pauls589e2b32007-07-11 18:29:29 +0000103 <module>../tools/maven2/maven-osgi-plugin</module>
Richard S. Hall430f3352007-03-28 14:27:28 +0000104 </modules>
105 </profile>
106
107 <profile>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000108 <id>packaging-ipojo-bundle</id>
Stephane Frenotab672472006-08-29 13:29:31 +0000109 <activation>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000110 <property>
111 <name>packaging</name>
112 <value>ipojo-bundle</value>
113 </property>
114 </activation>
115 <modules>
Clement Escoffierace86c52007-06-24 17:44:53 +0000116 <!--<module>ipojo/arch</module>-->
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000117 </modules>
118 </profile>
119
120 <profile>
121 <id>packaging-bundle</id>
122 <activation>
123 <property>
124 <name>packaging</name>
125 <value>bundle</value>
126 </property>
127 </activation>
128 <modules>
Stuart McCulloch0dea2172007-09-25 11:31:06 +0000129 <module>../maven-obr-plugin</module>
130
Stefano Lenzi7830f6d2007-08-25 23:50:23 +0000131 <module>../upnp/extra</module>
132 <module>../upnp/basedriver</module>
133 <module>../upnp/tester</module>
134 <module>../upnp/samples/tv</module>
135 <module>../upnp/samples/clock</module>
136 <module>../upnp/samples/binarylight</module>
Stefano Lenzi476013d2007-09-21 23:59:54 +0000137
Karl Pauls589e2b32007-07-11 18:29:29 +0000138 <module>../org.osgi.foundation</module>
139 <module>../javax.servlet</module>
140 <module>../org.osgi.core</module>
141 <module>../org.osgi.compendium</module>
142 <module>../framework</module>
143 <module>../main</module>
144 <module>../shell</module>
145 <module>../shell.tui</module>
146 <module>../shell.gui</module>
147 <module>../shell.gui.plugin</module>
Stuart McCulloch00f1f922007-09-24 20:02:41 +0000148 <module>../org.osgi.service.obr</module>
Karl Pauls589e2b32007-07-11 18:29:29 +0000149 <module>../bundlerepository</module>
150 <module>../log</module>
151 <module>../eventadmin</module>
152 <module>../http.jetty</module>
153 <module>../scr</module>
154 <module>../configadmin</module>
155 <module>../metatype</module>
156 <module>../dependencymanager</module>
157 <module>../servicebinder</module>
158 <module>../wireadmin</module>
Carsten Ziegeler41c255e2007-07-30 13:06:38 +0000159 <module>../prefs</module>
Richard S. Hall8c011c62007-04-17 14:31:35 +0000160
Clement Escoffierb5715b12007-09-25 14:29:52 +0000161 <module>../ipojo</module>
Marcel Offermans61791862007-07-23 17:35:55 +0000162
Karl Pauls0a3858c2007-07-13 22:03:31 +0000163 <module>../mosgi</module>
Felix Meschbergerfe090f82007-09-20 14:03:22 +0000164 <module>../jmood</module>
Richard S. Hall02496082007-08-23 15:29:20 +0000165
166 <module>../examples</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000167 </modules>
168 </profile>
169
170 <profile>
171 <id>packaging-osgi-bundle</id>
172 <activation>
173 <property>
174 <name>packaging</name>
175 <value>osgi-bundle</value>
176 </property>
177 </activation>
178 <modules>
Karl Pauls589e2b32007-07-11 18:29:29 +0000179 <module>../org.apache.felix.daemon</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000180
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000181 <!-- <module>tools/mangen</module> -->
182
Richard S. Hall8c011c62007-04-17 14:31:35 +0000183
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000184 </modules>
185 </profile>
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000186 <profile>
187 <id>release</id>
188 <build>
189 <plugins>
190 <plugin>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-gpg-plugin</artifactId>
193 <executions>
194 <execution>
195 <id>sign-artifacts</id>
196 <phase>verify</phase>
197 <goals>
198 <goal>sign</goal>
199 </goals>
200 </execution>
201 </executions>
202 </plugin>
203 <plugin>
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-assembly-plugin</artifactId>
206 <configuration>
207 <descriptorRefs>
208 <descriptorRef>bin</descriptorRef>
209 <descriptorRef>project</descriptorRef>
210 </descriptorRefs>
211 </configuration>
212 <executions>
213 <execution>
214 <id>make-assembly</id>
215 <phase>package</phase>
216 <goals>
217 <goal>attached</goal>
218 </goals>
219 </execution>
220 </executions>
221 </plugin>
222 </plugins>
223 </build>
224 </profile>
Stephane Frenotab672472006-08-29 13:29:31 +0000225 </profiles>
226
Karl Paulsd69e8af2006-08-12 09:51:20 +0000227 <distributionManagement>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000228 <site>
229 <id>felix website</id>
Marcel Offermansf6737032006-08-17 19:49:13 +0000230 <url>file:///${user.dir}/target/site-deployed/</url>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000231 </site>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000232 <repository>
Michael E. Rodriguez406386d2007-03-20 02:56:45 +0000233 <id>apache.incubator.releases</id>
234 <name>Apache Incubator Release Distribution Repository</name>
235 <url>scp://people.apache.org/www/people.apache.org/repo/m2-incubating-repository</url>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000236 </repository>
237 </distributionManagement>
238
239 <pluginRepositories>
240 <pluginRepository>
241 <id>apache.snapshots</id>
242 <name>snapshot plugins</name>
243 <url>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000244 http://people.apache.org/repo/m2-snapshot-repository
Karl Paulsd69e8af2006-08-12 09:51:20 +0000245 </url>
Richard S. Halla897e0e2007-02-13 05:55:13 +0000246 <releases>
247 <enabled>false</enabled>
248 </releases>
249 <snapshots>
250 <enabled>true</enabled>
251 </snapshots>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000252 </pluginRepository>
253 </pluginRepositories>
254
255 <!-- definitions for testing -->
256 <dependencies>
257 <dependency>
258 <groupId>junit</groupId>
259 <artifactId>junit</artifactId>
260 <version>3.8.1</version>
261 <scope>test</scope>
262 </dependency>
263 <dependency>
264 <groupId>easymock</groupId>
265 <artifactId>easymock</artifactId>
266 <version>1.2_Java1.3</version>
267 <scope>test</scope>
268 </dependency>
269 </dependencies>
270 <build>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000271 <pluginManagement>
272 <plugins>
273 <plugin>
274 <groupId>org.apache.maven.plugins</groupId>
275 <artifactId>maven-compiler-plugin</artifactId>
276 <version>2.0.2</version>
277 </plugin>
278 <plugin>
279 <groupId>org.apache.maven.plugins</groupId>
280 <artifactId>maven-surefire-plugin</artifactId>
281 <version>2.3</version>
282 </plugin>
283 <plugin>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-jar-plugin</artifactId>
286 <version>2.1</version>
287 </plugin>
288 <plugin>
289 <groupId>org.apache.maven.plugins</groupId>
290 <artifactId>maven-plugin-plugin</artifactId>
291 <version>2.3</version>
292 </plugin>
293 <plugin>
294 <groupId>org.apache.maven.plugins</groupId>
295 <artifactId>maven-install-plugin</artifactId>
296 <version>2.1</version>
297 </plugin>
298 <plugin>
299 <groupId>org.apache.maven.plugins</groupId>
300 <artifactId>maven-deploy-plugin</artifactId>
301 <version>2.3</version>
302 </plugin>
303 <plugin>
304 <groupId>org.apache.maven.plugins</groupId>
305 <artifactId>maven-site-plugin</artifactId>
306 <version>2.0-beta-5</version>
307 </plugin>
308 <plugin>
309 <groupId>org.apache.maven.plugins</groupId>
310 <artifactId>maven-project-info-reports-plugin</artifactId>
311 <version>2.0.1</version>
312 </plugin>
313 <plugin>
314 <groupId>org.apache.maven.plugins</groupId>
315 <artifactId>maven-jxr-plugin</artifactId>
316 <version>2.1</version>
317 </plugin>
318 <plugin>
319 <groupId>org.apache.maven.plugins</groupId>
320 <artifactId>maven-surefire-report-plugin</artifactId>
321 <version>2.3</version>
322 </plugin>
323 <plugin>
324 <groupId>org.apache.maven.plugins</groupId>
325 <artifactId>maven-javadoc-plugin</artifactId>
326 <version>2.2</version>
327 </plugin>
Karl Pauls0a3858c2007-07-13 22:03:31 +0000328<!-- <plugin>
Carsten Ziegeler97646542007-07-04 17:03:06 +0000329 <groupId>org.apache.felix</groupId>
330 <artifactId>maven-bundle-plugin</artifactId>
Karl Pauls0a3858c2007-07-13 22:03:31 +0000331 <version>1.1.0-SNAPSHOT</version>
332 </plugin> -->
Karl Pauls589e2b32007-07-11 18:29:29 +0000333<!-- <plugin>
334 <groupId>org.apache.maven.plugins</groupId>
335 <artifactId>maven-remote-resources-plugin</artifactId>
336 <version>1.0-alpha-5</version>
337 </plugin> -->
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000338 <plugin>
339 <groupId>org.apache.maven.plugins</groupId>
340 <artifactId>maven-release-plugin</artifactId>
341 <version>2.0-beta-7</version>
342 </plugin>
343 <plugin>
344 <groupId>org.apache.maven.plugins</groupId>
345 <artifactId>maven-gpg-plugin</artifactId>
346 <version>1.0-alpha-4</version>
347 </plugin>
348 <plugin>
349 <groupId>org.apache.maven.plugins</groupId>
350 <artifactId>maven-assembly-plugin</artifactId>
351 <version>2.2-beta-1</version>
352 </plugin>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000353 </plugins>
354 </pluginManagement>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000355 <plugins>
356 <plugin>
357 <groupId>org.apache.maven.plugins</groupId>
358 <artifactId>maven-compiler-plugin</artifactId>
359 <configuration>
Stuart McCulloch98f7c402007-09-21 03:38:03 +0000360 <target>1.3</target>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000361 </configuration>
362 </plugin>
363 <plugin>
364 <groupId>org.apache.maven.plugins</groupId>
365 <artifactId>maven-surefire-plugin</artifactId>
366 </plugin>
Stephane Frenotab672472006-08-29 13:29:31 +0000367 <!-- plugin>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000368 <groupId>org.apache.maven.plugins</groupId>
369 <artifactId>maven-surefire-report-plugin</artifactId>
Stephane Frenotab672472006-08-29 13:29:31 +0000370 </plugin -->
Karl Pauls589e2b32007-07-11 18:29:29 +0000371 <!-- We want to package up license resources in the JARs produced
372 <plugin>
373 <groupId>org.apache.maven.plugins</groupId>
374 <artifactId>maven-remote-resources-plugin</artifactId>
375 <executions>
376 <execution>
377 <goals>
378 <goal>process</goal>
379 </goals>
380 <configuration>
381 <resourceBundles>
382 <resourceBundle>org.apache:apache-jar-resource-bundle:1.0</resourceBundle>
383 </resourceBundles>
384 </configuration>
385 </execution>
386 </executions>
387 </plugin>-->
Carsten Ziegeler00eaded2007-12-14 17:22:20 +0000388 <plugin>
389 <groupId>org.apache.maven.plugins</groupId>
390 <artifactId>maven-release-plugin</artifactId>
391 <configuration>
392 <tagBase>https://svn.apache.org/repos/asf/felix/releases</tagBase>
393 <useReleaseProfile>false</useReleaseProfile>
394 <goals>deploy</goals>
395 </configuration>
396 </plugin>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000397 </plugins>
398 </build>
399 <reporting>
400 <plugins>
401 <plugin>
402 <groupId>org.apache.maven.plugins</groupId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000403 <artifactId>maven-site-plugin</artifactId>
404 <configuration>
Marcel Offermans5dcb02c2006-08-17 20:58:34 +0000405 <templateDirectory>${user.dir}/src/site/</templateDirectory>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000406 <template>maven-site.vm</template>
407 </configuration>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000408 </plugin>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000409 <plugin>
410 <groupId>org.apache.maven.plugins</groupId>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000411 <artifactId>maven-surefire-report-plugin</artifactId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000412 </plugin>
413 <plugin>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000414 <groupId>org.apache.maven.plugins</groupId>
415 <artifactId>maven-jxr-plugin</artifactId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000416 </plugin>
417 <plugin>
418 <groupId>org.apache.maven.plugins</groupId>
419 <artifactId>maven-project-info-reports-plugin</artifactId>
420 <reportSets>
421 <reportSet>
422 <reports>
423 <report>index</report>
424 <report>dependencies</report>
425 <report>project-team</report>
426 <report>mailing-list</report>
427 <report>issue-tracking</report>
428 <report>license</report>
429 <report>scm</report>
430 </reports>
431 </reportSet>
432 </reportSets>
433 </plugin>
434 <!--plugin>
435 <groupId>org.apache.maven.plugins</groupId>
436 <artifactId>maven-javadoc-plugin</artifactId>
437 <configuration>
438 <aggregate>true</aggregate>
439 </configuration>
440 </plugin-->
Karl Paulsd69e8af2006-08-12 09:51:20 +0000441 </plugins>
442 </reporting>
443</project>