blob: e2cdd16c2d23450fffaf325853380854b764de87 [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>
Richard S. Hallf2be1962006-12-22 19:46:42 +000034 <version>0.9.0-incubator-SNAPSHOT</version>
Richard S. Hall1764f302007-06-18 20:50:24 +000035 <url>http://felix.apache.org/</url>
Marcel Offermans0ed87292006-08-17 19:10:30 +000036 <description>Apache felix is an OSGi implementation.</description>
37
38 <issueManagement>
39 <system>Jira</system>
40 <url>http://issues.apache.org/jira/browse/FELIX</url>
Richard S. Hall1ca96a92007-02-12 15:46:10 +000041 </issueManagement>
Marcel Offermans0ed87292006-08-17 19:10:30 +000042
43 <mailingLists>
44 <mailingList>
45 <name>Felix Dev</name>
Richard S. Hall1764f302007-06-18 20:50:24 +000046 <subscribe>dev-subscribe@felix.apache.org</subscribe>
47 <unsubscribe>dev-unsubscribe@felix.apache.org</unsubscribe>
Marcel Offermans0ed87292006-08-17 19:10:30 +000048 <post>-</post>
Richard S. Hall1764f302007-06-18 20:50:24 +000049 <archive>http://www.mail-archive.com/dev%40felix.apache.org/</archive>
Marcel Offermans0ed87292006-08-17 19:10:30 +000050 </mailingList>
51 <mailingList>
52 <name>Felix Commits</name>
Richard S. Hall1764f302007-06-18 20:50:24 +000053 <subscribe>commits-subscribe@felix.apache.org</subscribe>
54 <unsubscribe>commits-unsubscribe@felix.apache.org</unsubscribe>
Marcel Offermans0ed87292006-08-17 19:10:30 +000055 <post>-</post>
Richard S. Hall1764f302007-06-18 20:50:24 +000056 <archive>http://www.mail-archive.com/commits%40felix.apache.org/</archive>
Marcel Offermans0ed87292006-08-17 19:10:30 +000057 </mailingList>
58 </mailingLists>
59
Marcel Offermans0ed87292006-08-17 19:10:30 +000060 <scm>
Richard S. Hall1764f302007-06-18 20:50:24 +000061 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk</connection>
62 <developerConnection>scm:svn:http://svn.apache.org/repos/asf/felix/trunk</developerConnection>
63 <url>http://svn.apache.org/viewvc/felix/trunk/?root=Apache-SVN</url>
Marcel Offermans0ed87292006-08-17 19:10:30 +000064 </scm>
Karl Paulsd69e8af2006-08-12 09:51:20 +000065
Richard S. Hall1ca96a92007-02-12 15:46:10 +000066 <!--
67 Felix contains 3 custom maven packaging plugins. Each creates a jar file
68 as an artifact.
69
Richard S. Hall797bc982007-05-21 18:35:07 +000070 maven-bundle-plugin
Richard S. Hall1ca96a92007-02-12 15:46:10 +000071 (bundle packaging - latest prefered plugin for generating OSGi bundles.)
72 maven-osgi-plugin
73 (osgi-bundle packaging - old plugin for generating OSGi bundles.)
74 org.apache.felix.ipojo.plugin
75 (plugin for generating iPOJO OSGi bundles.)
76
77 But with maven bug https://issues.apache.org/jira/browse/FELIX-198 files
78 are not always created with the correct extension in the repository.
Karl Paulsd69e8af2006-08-12 09:51:20 +000079
Richard S. Hall1ca96a92007-02-12 15:46:10 +000080 As a work around, this pom creates different profiles for building the
81 different types of felix modules.
Stephane Frenotab672472006-08-29 13:29:31 +000082
Richard S. Hall1ca96a92007-02-12 15:46:10 +000083 Usage:
84 mvn -Dpackaging=<type> clean install
85 -->
Karl Paulsd69e8af2006-08-12 09:51:20 +000086
Stephane Frenotab672472006-08-29 13:29:31 +000087 <profiles>
Richard S. Hall1ca96a92007-02-12 15:46:10 +000088
Stephane Frenotab672472006-08-29 13:29:31 +000089 <profile>
Richard S. Hall430f3352007-03-28 14:27:28 +000090 <id>packaging-plugins</id>
91 <activation>
92 <property>
93 <name>packaging</name>
94 <value>plugins</value>
95 </property>
96 </activation>
97 <modules>
Richard S. Hall48b14272007-05-20 22:09:53 +000098 <module>bundleplugin</module>
Richard S. Hall430f3352007-03-28 14:27:28 +000099 <module>tools/maven2/maven-osgi-plugin</module>
Clement Escoffierace86c52007-06-24 17:44:53 +0000100 <module>ipojo/metadata</module>
101 <module>ipojo/manipulator</module>
Richard S. Hall376e83e2007-05-21 02:25:53 +0000102 <module>ipojo/plugin</module>
Richard S. Hall430f3352007-03-28 14:27:28 +0000103 </modules>
104 </profile>
105
106 <profile>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000107 <id>packaging-ipojo-bundle</id>
Stephane Frenotab672472006-08-29 13:29:31 +0000108 <activation>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000109 <property>
110 <name>packaging</name>
111 <value>ipojo-bundle</value>
112 </property>
113 </activation>
114 <modules>
Clement Escoffierace86c52007-06-24 17:44:53 +0000115 <!--<module>ipojo/arch</module>-->
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000116 </modules>
117 </profile>
118
119 <profile>
120 <id>packaging-bundle</id>
121 <activation>
122 <property>
123 <name>packaging</name>
124 <value>bundle</value>
125 </property>
126 </activation>
127 <modules>
128 <module>org.osgi.foundation</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000129 <module>javax.servlet</module>
130 <module>org.osgi.core</module>
131 <module>org.osgi.compendium</module>
132 <module>framework</module>
133 <module>main</module>
134 <module>shell</module>
135 <module>shell.tui</module>
Richard S. Hall0ad669d2007-06-18 19:05:48 +0000136 <module>shell.gui</module>
137 <module>shell.gui.plugin</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000138 <module>bundlerepository</module>
139 <module>log</module>
Karl Paulsc59b31d2007-05-20 21:29:39 +0000140 <module>eventadmin</module>
Karl Pauls84957a52007-05-14 21:55:49 +0000141 <module>http.jetty</module>
Felix Meschbergere7daaff2007-04-11 18:31:03 +0000142 <module>scr</module>
143 <module>configadmin</module>
144 <module>metatype</module>
Richard S. Hall9cb48fc2007-05-31 14:49:19 +0000145 <module>dependencymanager</module>
Richard S. Hall0ad669d2007-06-18 19:05:48 +0000146 <module>servicebinder</module>
147 <module>wireadmin</module>
Richard S. Hall8c011c62007-04-17 14:31:35 +0000148
Richard S. Hall376e83e2007-05-21 02:25:53 +0000149 <module>ipojo/core</module>
Clement Escoffierace86c52007-06-24 17:44:53 +0000150 <module>ipojo/arch</module>
Stephane Frenot8a223dc2007-06-28 15:04:22 +0000151
152 <module>mosgi</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000153 </modules>
154 </profile>
155
156 <profile>
157 <id>packaging-osgi-bundle</id>
158 <activation>
159 <property>
160 <name>packaging</name>
161 <value>osgi-bundle</value>
162 </property>
163 </activation>
164 <modules>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000165 <module>org.apache.felix.daemon</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000166
167 <module>examples</module>
168
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000169 <module>upnp.extra</module>
170 <module>upnp.basedriver</module>
171 <module>upnp.tester</module>
172 <module>upnp.sample.tv</module>
173 <module>upnp.sample.clock</module>
174 <module>upnp.sample.binaryLight</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000175
176 <!-- <module>tools/mangen</module> -->
177
Richard S. Hall8c011c62007-04-17 14:31:35 +0000178
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000179 </modules>
180 </profile>
Stephane Frenotab672472006-08-29 13:29:31 +0000181 </profiles>
182
Stephane Frenote8c7a982006-09-28 15:46:53 +0000183 <!-- Specify a default version number for dependencies -->
184 <dependencyManagement>
185 <dependencies>
186 <dependency>
187 <groupId>org.apache.felix</groupId>
188 <artifactId>org.osgi.core</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000189 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000190 </dependency>
191 <dependency>
192 <groupId>org.apache.felix</groupId>
193 <artifactId>org.osgi.compendium</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000194 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000195 </dependency>
196 <dependency>
197 <groupId>org.apache.felix</groupId>
198 <artifactId>org.apache.felix.framework</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000199 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000200 </dependency>
201 <dependency>
202 <groupId>org.apache.felix</groupId>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000203 <artifactId>org.apache.felix.bundlerepository</artifactId>
204 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000205 </dependency>
206 <dependency>
207 <groupId>org.apache.felix</groupId>
208 <artifactId>org.apache.felix.mosgi.jmx.registry</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000209 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000210 </dependency>
211 <dependency>
212 <groupId>org.apache.felix</groupId>
213 <artifactId>org.apache.felix.mosgi.jmx.agent</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000214 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000215 </dependency>
216 <dependency>
217 <groupId>org.apache.felix</groupId>
218 <artifactId>org.apache.felix.mosgi.console.ifc</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000219 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000220 </dependency>
221 </dependencies>
222 </dependencyManagement>
223
Karl Paulsd69e8af2006-08-12 09:51:20 +0000224 <distributionManagement>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000225 <site>
226 <id>felix website</id>
Marcel Offermansf6737032006-08-17 19:49:13 +0000227 <url>file:///${user.dir}/target/site-deployed/</url>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000228 </site>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000229 <repository>
Michael E. Rodriguez406386d2007-03-20 02:56:45 +0000230 <id>apache.incubator.releases</id>
231 <name>Apache Incubator Release Distribution Repository</name>
232 <url>scp://people.apache.org/www/people.apache.org/repo/m2-incubating-repository</url>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000233 </repository>
234 </distributionManagement>
235
236 <pluginRepositories>
237 <pluginRepository>
238 <id>apache.snapshots</id>
239 <name>snapshot plugins</name>
240 <url>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000241 http://people.apache.org/repo/m2-snapshot-repository
Karl Paulsd69e8af2006-08-12 09:51:20 +0000242 </url>
Richard S. Halla897e0e2007-02-13 05:55:13 +0000243 <releases>
244 <enabled>false</enabled>
245 </releases>
246 <snapshots>
247 <enabled>true</enabled>
248 </snapshots>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000249 </pluginRepository>
250 </pluginRepositories>
251
252 <!-- definitions for testing -->
253 <dependencies>
254 <dependency>
255 <groupId>junit</groupId>
256 <artifactId>junit</artifactId>
257 <version>3.8.1</version>
258 <scope>test</scope>
259 </dependency>
260 <dependency>
261 <groupId>easymock</groupId>
262 <artifactId>easymock</artifactId>
263 <version>1.2_Java1.3</version>
264 <scope>test</scope>
265 </dependency>
266 </dependencies>
267 <build>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000268 <pluginManagement>
269 <plugins>
270 <plugin>
271 <groupId>org.apache.maven.plugins</groupId>
272 <artifactId>maven-compiler-plugin</artifactId>
273 <version>2.0.2</version>
274 </plugin>
275 <plugin>
276 <groupId>org.apache.maven.plugins</groupId>
277 <artifactId>maven-surefire-plugin</artifactId>
278 <version>2.3</version>
279 </plugin>
280 <plugin>
281 <groupId>org.apache.maven.plugins</groupId>
282 <artifactId>maven-jar-plugin</artifactId>
283 <version>2.1</version>
284 </plugin>
285 <plugin>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-plugin-plugin</artifactId>
288 <version>2.3</version>
289 </plugin>
290 <plugin>
291 <groupId>org.apache.maven.plugins</groupId>
292 <artifactId>maven-install-plugin</artifactId>
293 <version>2.1</version>
294 </plugin>
295 <plugin>
296 <groupId>org.apache.maven.plugins</groupId>
297 <artifactId>maven-deploy-plugin</artifactId>
298 <version>2.3</version>
299 </plugin>
300 <plugin>
301 <groupId>org.apache.maven.plugins</groupId>
302 <artifactId>maven-site-plugin</artifactId>
303 <version>2.0-beta-5</version>
304 </plugin>
305 <plugin>
306 <groupId>org.apache.maven.plugins</groupId>
307 <artifactId>maven-project-info-reports-plugin</artifactId>
308 <version>2.0.1</version>
309 </plugin>
310 <plugin>
311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-jxr-plugin</artifactId>
313 <version>2.1</version>
314 </plugin>
315 <plugin>
316 <groupId>org.apache.maven.plugins</groupId>
317 <artifactId>maven-surefire-report-plugin</artifactId>
318 <version>2.3</version>
319 </plugin>
320 <plugin>
321 <groupId>org.apache.maven.plugins</groupId>
322 <artifactId>maven-javadoc-plugin</artifactId>
323 <version>2.2</version>
324 </plugin>
Carsten Ziegeler97646542007-07-04 17:03:06 +0000325 <plugin>
326 <groupId>org.apache.felix</groupId>
327 <artifactId>maven-bundle-plugin</artifactId>
328 <version>0.9.0-incubator-SNAPSHOT</version>
329 </plugin>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000330 </plugins>
331 </pluginManagement>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000332 <plugins>
333 <plugin>
334 <groupId>org.apache.maven.plugins</groupId>
335 <artifactId>maven-compiler-plugin</artifactId>
336 <configuration>
337 <target>1.4</target>
338 </configuration>
339 </plugin>
340 <plugin>
341 <groupId>org.apache.maven.plugins</groupId>
342 <artifactId>maven-surefire-plugin</artifactId>
343 </plugin>
Stephane Frenotab672472006-08-29 13:29:31 +0000344 <!-- plugin>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000345 <groupId>org.apache.maven.plugins</groupId>
346 <artifactId>maven-surefire-report-plugin</artifactId>
Stephane Frenotab672472006-08-29 13:29:31 +0000347 </plugin -->
Karl Paulsd69e8af2006-08-12 09:51:20 +0000348 </plugins>
349 </build>
350 <reporting>
351 <plugins>
352 <plugin>
353 <groupId>org.apache.maven.plugins</groupId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000354 <artifactId>maven-site-plugin</artifactId>
355 <configuration>
Marcel Offermans5dcb02c2006-08-17 20:58:34 +0000356 <templateDirectory>${user.dir}/src/site/</templateDirectory>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000357 <template>maven-site.vm</template>
358 </configuration>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000359 </plugin>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000360 <plugin>
361 <groupId>org.apache.maven.plugins</groupId>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000362 <artifactId>maven-surefire-report-plugin</artifactId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000363 </plugin>
364 <plugin>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000365 <groupId>org.apache.maven.plugins</groupId>
366 <artifactId>maven-jxr-plugin</artifactId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000367 </plugin>
368 <plugin>
369 <groupId>org.apache.maven.plugins</groupId>
370 <artifactId>maven-project-info-reports-plugin</artifactId>
371 <reportSets>
372 <reportSet>
373 <reports>
374 <report>index</report>
375 <report>dependencies</report>
376 <report>project-team</report>
377 <report>mailing-list</report>
378 <report>issue-tracking</report>
379 <report>license</report>
380 <report>scm</report>
381 </reports>
382 </reportSet>
383 </reportSets>
384 </plugin>
385 <!--plugin>
386 <groupId>org.apache.maven.plugins</groupId>
387 <artifactId>maven-javadoc-plugin</artifactId>
388 <configuration>
389 <aggregate>true</aggregate>
390 </configuration>
391 </plugin-->
Karl Paulsd69e8af2006-08-12 09:51:20 +0000392 </plugins>
393 </reporting>
394</project>