blob: 2f9c1162e71d2a2a049aad3e8e6c775a37f8c533 [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>
Karl Pauls589e2b32007-07-11 18:29:29 +000099 <module>../bundleplugin</module>
Stefano Lenzi476013d2007-09-21 23:59:54 +0000100 <module>../maven-obr-plugin</module>
Carsten Ziegelerf0cde292007-08-20 07:37:44 +0000101 <module>../scrplugin</module>
Karl Pauls589e2b32007-07-11 18:29:29 +0000102 <module>../tools/maven2/maven-osgi-plugin</module>
Karl Pauls589e2b32007-07-11 18:29:29 +0000103 <module>../ipojo/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>
Stefano Lenzi7830f6d2007-08-25 23:50:23 +0000129 <module>../upnp/extra</module>
130 <module>../upnp/basedriver</module>
131 <module>../upnp/tester</module>
132 <module>../upnp/samples/tv</module>
133 <module>../upnp/samples/clock</module>
134 <module>../upnp/samples/binarylight</module>
Stefano Lenzi476013d2007-09-21 23:59:54 +0000135
Karl Pauls589e2b32007-07-11 18:29:29 +0000136 <module>../org.osgi.foundation</module>
137 <module>../javax.servlet</module>
138 <module>../org.osgi.core</module>
139 <module>../org.osgi.compendium</module>
140 <module>../framework</module>
141 <module>../main</module>
142 <module>../shell</module>
143 <module>../shell.tui</module>
144 <module>../shell.gui</module>
145 <module>../shell.gui.plugin</module>
146 <module>../bundlerepository</module>
147 <module>../log</module>
148 <module>../eventadmin</module>
149 <module>../http.jetty</module>
150 <module>../scr</module>
151 <module>../configadmin</module>
152 <module>../metatype</module>
153 <module>../dependencymanager</module>
154 <module>../servicebinder</module>
155 <module>../wireadmin</module>
Carsten Ziegeler41c255e2007-07-30 13:06:38 +0000156 <module>../prefs</module>
Richard S. Hall8c011c62007-04-17 14:31:35 +0000157
Karl Pauls589e2b32007-07-11 18:29:29 +0000158 <module>../ipojo/core</module>
159 <module>../ipojo/arch</module>
Stefano Lenzi476013d2007-09-21 23:59:54 +0000160 <module>../ipojo/metadata</module>
161 <module>../ipojo/manipulator</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>
Stephane Frenotab672472006-08-29 13:29:31 +0000186 </profiles>
187
Karl Paulsd69e8af2006-08-12 09:51:20 +0000188 <distributionManagement>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000189 <site>
190 <id>felix website</id>
Marcel Offermansf6737032006-08-17 19:49:13 +0000191 <url>file:///${user.dir}/target/site-deployed/</url>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000192 </site>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000193 <repository>
Michael E. Rodriguez406386d2007-03-20 02:56:45 +0000194 <id>apache.incubator.releases</id>
195 <name>Apache Incubator Release Distribution Repository</name>
196 <url>scp://people.apache.org/www/people.apache.org/repo/m2-incubating-repository</url>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000197 </repository>
198 </distributionManagement>
199
200 <pluginRepositories>
201 <pluginRepository>
202 <id>apache.snapshots</id>
203 <name>snapshot plugins</name>
204 <url>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000205 http://people.apache.org/repo/m2-snapshot-repository
Karl Paulsd69e8af2006-08-12 09:51:20 +0000206 </url>
Richard S. Halla897e0e2007-02-13 05:55:13 +0000207 <releases>
208 <enabled>false</enabled>
209 </releases>
210 <snapshots>
211 <enabled>true</enabled>
212 </snapshots>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000213 </pluginRepository>
214 </pluginRepositories>
215
216 <!-- definitions for testing -->
217 <dependencies>
218 <dependency>
219 <groupId>junit</groupId>
220 <artifactId>junit</artifactId>
221 <version>3.8.1</version>
222 <scope>test</scope>
223 </dependency>
224 <dependency>
225 <groupId>easymock</groupId>
226 <artifactId>easymock</artifactId>
227 <version>1.2_Java1.3</version>
228 <scope>test</scope>
229 </dependency>
230 </dependencies>
231 <build>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000232 <pluginManagement>
233 <plugins>
234 <plugin>
235 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-compiler-plugin</artifactId>
237 <version>2.0.2</version>
238 </plugin>
239 <plugin>
240 <groupId>org.apache.maven.plugins</groupId>
241 <artifactId>maven-surefire-plugin</artifactId>
242 <version>2.3</version>
243 </plugin>
244 <plugin>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-jar-plugin</artifactId>
247 <version>2.1</version>
248 </plugin>
249 <plugin>
250 <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-plugin-plugin</artifactId>
252 <version>2.3</version>
253 </plugin>
254 <plugin>
255 <groupId>org.apache.maven.plugins</groupId>
256 <artifactId>maven-install-plugin</artifactId>
257 <version>2.1</version>
258 </plugin>
259 <plugin>
260 <groupId>org.apache.maven.plugins</groupId>
261 <artifactId>maven-deploy-plugin</artifactId>
262 <version>2.3</version>
263 </plugin>
264 <plugin>
265 <groupId>org.apache.maven.plugins</groupId>
266 <artifactId>maven-site-plugin</artifactId>
267 <version>2.0-beta-5</version>
268 </plugin>
269 <plugin>
270 <groupId>org.apache.maven.plugins</groupId>
271 <artifactId>maven-project-info-reports-plugin</artifactId>
272 <version>2.0.1</version>
273 </plugin>
274 <plugin>
275 <groupId>org.apache.maven.plugins</groupId>
276 <artifactId>maven-jxr-plugin</artifactId>
277 <version>2.1</version>
278 </plugin>
279 <plugin>
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-surefire-report-plugin</artifactId>
282 <version>2.3</version>
283 </plugin>
284 <plugin>
285 <groupId>org.apache.maven.plugins</groupId>
286 <artifactId>maven-javadoc-plugin</artifactId>
287 <version>2.2</version>
288 </plugin>
Karl Pauls0a3858c2007-07-13 22:03:31 +0000289<!-- <plugin>
Carsten Ziegeler97646542007-07-04 17:03:06 +0000290 <groupId>org.apache.felix</groupId>
291 <artifactId>maven-bundle-plugin</artifactId>
Karl Pauls0a3858c2007-07-13 22:03:31 +0000292 <version>1.1.0-SNAPSHOT</version>
293 </plugin> -->
Karl Pauls589e2b32007-07-11 18:29:29 +0000294<!-- <plugin>
295 <groupId>org.apache.maven.plugins</groupId>
296 <artifactId>maven-remote-resources-plugin</artifactId>
297 <version>1.0-alpha-5</version>
298 </plugin> -->
Richard S. Hall061dffd2007-04-28 15:11:03 +0000299 </plugins>
300 </pluginManagement>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000301 <plugins>
302 <plugin>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-compiler-plugin</artifactId>
305 <configuration>
Stuart McCulloch98f7c402007-09-21 03:38:03 +0000306 <target>1.3</target>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000307 </configuration>
308 </plugin>
309 <plugin>
310 <groupId>org.apache.maven.plugins</groupId>
311 <artifactId>maven-surefire-plugin</artifactId>
312 </plugin>
Stephane Frenotab672472006-08-29 13:29:31 +0000313 <!-- plugin>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000314 <groupId>org.apache.maven.plugins</groupId>
315 <artifactId>maven-surefire-report-plugin</artifactId>
Stephane Frenotab672472006-08-29 13:29:31 +0000316 </plugin -->
Karl Pauls589e2b32007-07-11 18:29:29 +0000317 <!-- We want to package up license resources in the JARs produced
318 <plugin>
319 <groupId>org.apache.maven.plugins</groupId>
320 <artifactId>maven-remote-resources-plugin</artifactId>
321 <executions>
322 <execution>
323 <goals>
324 <goal>process</goal>
325 </goals>
326 <configuration>
327 <resourceBundles>
328 <resourceBundle>org.apache:apache-jar-resource-bundle:1.0</resourceBundle>
329 </resourceBundles>
330 </configuration>
331 </execution>
332 </executions>
333 </plugin>-->
Karl Paulsd69e8af2006-08-12 09:51:20 +0000334 </plugins>
335 </build>
336 <reporting>
337 <plugins>
338 <plugin>
339 <groupId>org.apache.maven.plugins</groupId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000340 <artifactId>maven-site-plugin</artifactId>
341 <configuration>
Marcel Offermans5dcb02c2006-08-17 20:58:34 +0000342 <templateDirectory>${user.dir}/src/site/</templateDirectory>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000343 <template>maven-site.vm</template>
344 </configuration>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000345 </plugin>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000346 <plugin>
347 <groupId>org.apache.maven.plugins</groupId>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000348 <artifactId>maven-surefire-report-plugin</artifactId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000349 </plugin>
350 <plugin>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000351 <groupId>org.apache.maven.plugins</groupId>
352 <artifactId>maven-jxr-plugin</artifactId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000353 </plugin>
354 <plugin>
355 <groupId>org.apache.maven.plugins</groupId>
356 <artifactId>maven-project-info-reports-plugin</artifactId>
357 <reportSets>
358 <reportSet>
359 <reports>
360 <report>index</report>
361 <report>dependencies</report>
362 <report>project-team</report>
363 <report>mailing-list</report>
364 <report>issue-tracking</report>
365 <report>license</report>
366 <report>scm</report>
367 </reports>
368 </reportSet>
369 </reportSets>
370 </plugin>
371 <!--plugin>
372 <groupId>org.apache.maven.plugins</groupId>
373 <artifactId>maven-javadoc-plugin</artifactId>
374 <configuration>
375 <aggregate>true</aggregate>
376 </configuration>
377 </plugin-->
Karl Paulsd69e8af2006-08-12 09:51:20 +0000378 </plugins>
379 </reporting>
380</project>