blob: e073500487d0bca5e9e8acbc655d1cde29a38f13 [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>
100 <module>../tools/maven2/maven-osgi-plugin</module>
101 <module>../ipojo/metadata</module>
102 <module>../ipojo/manipulator</module>
103 <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>
Karl Pauls589e2b32007-07-11 18:29:29 +0000129 <module>../org.osgi.foundation</module>
130 <module>../javax.servlet</module>
131 <module>../org.osgi.core</module>
132 <module>../org.osgi.compendium</module>
133 <module>../framework</module>
134 <module>../main</module>
135 <module>../shell</module>
136 <module>../shell.tui</module>
137 <module>../shell.gui</module>
138 <module>../shell.gui.plugin</module>
139 <module>../bundlerepository</module>
140 <module>../log</module>
141 <module>../eventadmin</module>
142 <module>../http.jetty</module>
143 <module>../scr</module>
144 <module>../configadmin</module>
145 <module>../metatype</module>
146 <module>../dependencymanager</module>
147 <module>../servicebinder</module>
148 <module>../wireadmin</module>
Carsten Ziegeler41c255e2007-07-30 13:06:38 +0000149 <module>../prefs</module>
Richard S. Hall8c011c62007-04-17 14:31:35 +0000150
Karl Pauls589e2b32007-07-11 18:29:29 +0000151 <module>../ipojo/core</module>
152 <module>../ipojo/arch</module>
Marcel Offermans61791862007-07-23 17:35:55 +0000153
Karl Pauls0a3858c2007-07-13 22:03:31 +0000154 <module>../mosgi</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000155 </modules>
156 </profile>
157
158 <profile>
159 <id>packaging-osgi-bundle</id>
160 <activation>
161 <property>
162 <name>packaging</name>
163 <value>osgi-bundle</value>
164 </property>
165 </activation>
166 <modules>
Karl Pauls589e2b32007-07-11 18:29:29 +0000167 <module>../org.apache.felix.daemon</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000168
Karl Pauls589e2b32007-07-11 18:29:29 +0000169 <module>../examples</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000170
Karl Pauls589e2b32007-07-11 18:29:29 +0000171 <module>../upnp.extra</module>
172 <module>../upnp.basedriver</module>
173 <module>../upnp.tester</module>
174 <module>../upnp.sample.tv</module>
175 <module>../upnp.sample.clock</module>
176 <module>../upnp.sample.binaryLight</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000177
178 <!-- <module>tools/mangen</module> -->
179
Richard S. Hall8c011c62007-04-17 14:31:35 +0000180
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000181 </modules>
182 </profile>
Stephane Frenotab672472006-08-29 13:29:31 +0000183 </profiles>
184
Karl Paulsd69e8af2006-08-12 09:51:20 +0000185 <distributionManagement>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000186 <site>
187 <id>felix website</id>
Marcel Offermansf6737032006-08-17 19:49:13 +0000188 <url>file:///${user.dir}/target/site-deployed/</url>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000189 </site>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000190 <repository>
Michael E. Rodriguez406386d2007-03-20 02:56:45 +0000191 <id>apache.incubator.releases</id>
192 <name>Apache Incubator Release Distribution Repository</name>
193 <url>scp://people.apache.org/www/people.apache.org/repo/m2-incubating-repository</url>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000194 </repository>
195 </distributionManagement>
196
197 <pluginRepositories>
198 <pluginRepository>
199 <id>apache.snapshots</id>
200 <name>snapshot plugins</name>
201 <url>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000202 http://people.apache.org/repo/m2-snapshot-repository
Karl Paulsd69e8af2006-08-12 09:51:20 +0000203 </url>
Richard S. Halla897e0e2007-02-13 05:55:13 +0000204 <releases>
205 <enabled>false</enabled>
206 </releases>
207 <snapshots>
208 <enabled>true</enabled>
209 </snapshots>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000210 </pluginRepository>
211 </pluginRepositories>
212
213 <!-- definitions for testing -->
214 <dependencies>
215 <dependency>
216 <groupId>junit</groupId>
217 <artifactId>junit</artifactId>
218 <version>3.8.1</version>
219 <scope>test</scope>
220 </dependency>
221 <dependency>
222 <groupId>easymock</groupId>
223 <artifactId>easymock</artifactId>
224 <version>1.2_Java1.3</version>
225 <scope>test</scope>
226 </dependency>
227 </dependencies>
228 <build>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000229 <pluginManagement>
230 <plugins>
231 <plugin>
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-compiler-plugin</artifactId>
234 <version>2.0.2</version>
235 </plugin>
236 <plugin>
237 <groupId>org.apache.maven.plugins</groupId>
238 <artifactId>maven-surefire-plugin</artifactId>
239 <version>2.3</version>
240 </plugin>
241 <plugin>
242 <groupId>org.apache.maven.plugins</groupId>
243 <artifactId>maven-jar-plugin</artifactId>
244 <version>2.1</version>
245 </plugin>
246 <plugin>
247 <groupId>org.apache.maven.plugins</groupId>
248 <artifactId>maven-plugin-plugin</artifactId>
249 <version>2.3</version>
250 </plugin>
251 <plugin>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-install-plugin</artifactId>
254 <version>2.1</version>
255 </plugin>
256 <plugin>
257 <groupId>org.apache.maven.plugins</groupId>
258 <artifactId>maven-deploy-plugin</artifactId>
259 <version>2.3</version>
260 </plugin>
261 <plugin>
262 <groupId>org.apache.maven.plugins</groupId>
263 <artifactId>maven-site-plugin</artifactId>
264 <version>2.0-beta-5</version>
265 </plugin>
266 <plugin>
267 <groupId>org.apache.maven.plugins</groupId>
268 <artifactId>maven-project-info-reports-plugin</artifactId>
269 <version>2.0.1</version>
270 </plugin>
271 <plugin>
272 <groupId>org.apache.maven.plugins</groupId>
273 <artifactId>maven-jxr-plugin</artifactId>
274 <version>2.1</version>
275 </plugin>
276 <plugin>
277 <groupId>org.apache.maven.plugins</groupId>
278 <artifactId>maven-surefire-report-plugin</artifactId>
279 <version>2.3</version>
280 </plugin>
281 <plugin>
282 <groupId>org.apache.maven.plugins</groupId>
283 <artifactId>maven-javadoc-plugin</artifactId>
284 <version>2.2</version>
285 </plugin>
Karl Pauls0a3858c2007-07-13 22:03:31 +0000286<!-- <plugin>
Carsten Ziegeler97646542007-07-04 17:03:06 +0000287 <groupId>org.apache.felix</groupId>
288 <artifactId>maven-bundle-plugin</artifactId>
Karl Pauls0a3858c2007-07-13 22:03:31 +0000289 <version>1.1.0-SNAPSHOT</version>
290 </plugin> -->
Karl Pauls589e2b32007-07-11 18:29:29 +0000291<!-- <plugin>
292 <groupId>org.apache.maven.plugins</groupId>
293 <artifactId>maven-remote-resources-plugin</artifactId>
294 <version>1.0-alpha-5</version>
295 </plugin> -->
Richard S. Hall061dffd2007-04-28 15:11:03 +0000296 </plugins>
297 </pluginManagement>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000298 <plugins>
299 <plugin>
300 <groupId>org.apache.maven.plugins</groupId>
301 <artifactId>maven-compiler-plugin</artifactId>
302 <configuration>
303 <target>1.4</target>
304 </configuration>
305 </plugin>
306 <plugin>
307 <groupId>org.apache.maven.plugins</groupId>
308 <artifactId>maven-surefire-plugin</artifactId>
309 </plugin>
Stephane Frenotab672472006-08-29 13:29:31 +0000310 <!-- plugin>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-surefire-report-plugin</artifactId>
Stephane Frenotab672472006-08-29 13:29:31 +0000313 </plugin -->
Karl Pauls589e2b32007-07-11 18:29:29 +0000314 <!-- We want to package up license resources in the JARs produced
315 <plugin>
316 <groupId>org.apache.maven.plugins</groupId>
317 <artifactId>maven-remote-resources-plugin</artifactId>
318 <executions>
319 <execution>
320 <goals>
321 <goal>process</goal>
322 </goals>
323 <configuration>
324 <resourceBundles>
325 <resourceBundle>org.apache:apache-jar-resource-bundle:1.0</resourceBundle>
326 </resourceBundles>
327 </configuration>
328 </execution>
329 </executions>
330 </plugin>-->
Karl Paulsd69e8af2006-08-12 09:51:20 +0000331 </plugins>
332 </build>
333 <reporting>
334 <plugins>
335 <plugin>
336 <groupId>org.apache.maven.plugins</groupId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000337 <artifactId>maven-site-plugin</artifactId>
338 <configuration>
Marcel Offermans5dcb02c2006-08-17 20:58:34 +0000339 <templateDirectory>${user.dir}/src/site/</templateDirectory>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000340 <template>maven-site.vm</template>
341 </configuration>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000342 </plugin>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000343 <plugin>
344 <groupId>org.apache.maven.plugins</groupId>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000345 <artifactId>maven-surefire-report-plugin</artifactId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000346 </plugin>
347 <plugin>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000348 <groupId>org.apache.maven.plugins</groupId>
349 <artifactId>maven-jxr-plugin</artifactId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000350 </plugin>
351 <plugin>
352 <groupId>org.apache.maven.plugins</groupId>
353 <artifactId>maven-project-info-reports-plugin</artifactId>
354 <reportSets>
355 <reportSet>
356 <reports>
357 <report>index</report>
358 <report>dependencies</report>
359 <report>project-team</report>
360 <report>mailing-list</report>
361 <report>issue-tracking</report>
362 <report>license</report>
363 <report>scm</report>
364 </reports>
365 </reportSet>
366 </reportSets>
367 </plugin>
368 <!--plugin>
369 <groupId>org.apache.maven.plugins</groupId>
370 <artifactId>maven-javadoc-plugin</artifactId>
371 <configuration>
372 <aggregate>true</aggregate>
373 </configuration>
374 </plugin-->
Karl Paulsd69e8af2006-08-12 09:51:20 +0000375 </plugins>
376 </reporting>
377</project>