blob: 7aa1103638880f8faa6773ae3cf9d2933c43c711 [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>
Carsten Ziegelerf0cde292007-08-20 07:37:44 +0000100 <module>../scrplugin</module>
Karl Pauls589e2b32007-07-11 18:29:29 +0000101 <module>../tools/maven2/maven-osgi-plugin</module>
102 <module>../ipojo/metadata</module>
103 <module>../ipojo/manipulator</module>
104 <module>../ipojo/plugin</module>
Richard S. Hall430f3352007-03-28 14:27:28 +0000105 </modules>
106 </profile>
107
108 <profile>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000109 <id>packaging-ipojo-bundle</id>
Stephane Frenotab672472006-08-29 13:29:31 +0000110 <activation>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000111 <property>
112 <name>packaging</name>
113 <value>ipojo-bundle</value>
114 </property>
115 </activation>
116 <modules>
Clement Escoffierace86c52007-06-24 17:44:53 +0000117 <!--<module>ipojo/arch</module>-->
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000118 </modules>
119 </profile>
120
121 <profile>
122 <id>packaging-bundle</id>
123 <activation>
124 <property>
125 <name>packaging</name>
126 <value>bundle</value>
127 </property>
128 </activation>
129 <modules>
Karl Pauls589e2b32007-07-11 18:29:29 +0000130 <module>../org.osgi.foundation</module>
131 <module>../javax.servlet</module>
132 <module>../org.osgi.core</module>
133 <module>../org.osgi.compendium</module>
134 <module>../framework</module>
135 <module>../main</module>
136 <module>../shell</module>
137 <module>../shell.tui</module>
138 <module>../shell.gui</module>
139 <module>../shell.gui.plugin</module>
140 <module>../bundlerepository</module>
141 <module>../log</module>
142 <module>../eventadmin</module>
143 <module>../http.jetty</module>
144 <module>../scr</module>
145 <module>../configadmin</module>
146 <module>../metatype</module>
147 <module>../dependencymanager</module>
148 <module>../servicebinder</module>
149 <module>../wireadmin</module>
Carsten Ziegeler41c255e2007-07-30 13:06:38 +0000150 <module>../prefs</module>
Richard S. Hall8c011c62007-04-17 14:31:35 +0000151
Karl Pauls589e2b32007-07-11 18:29:29 +0000152 <module>../ipojo/core</module>
153 <module>../ipojo/arch</module>
Marcel Offermans61791862007-07-23 17:35:55 +0000154
Karl Pauls0a3858c2007-07-13 22:03:31 +0000155 <module>../mosgi</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000156 </modules>
157 </profile>
158
159 <profile>
160 <id>packaging-osgi-bundle</id>
161 <activation>
162 <property>
163 <name>packaging</name>
164 <value>osgi-bundle</value>
165 </property>
166 </activation>
167 <modules>
Karl Pauls589e2b32007-07-11 18:29:29 +0000168 <module>../org.apache.felix.daemon</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000169
Karl Pauls589e2b32007-07-11 18:29:29 +0000170 <module>../examples</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000171
Karl Pauls589e2b32007-07-11 18:29:29 +0000172 <module>../upnp.extra</module>
173 <module>../upnp.basedriver</module>
174 <module>../upnp.tester</module>
175 <module>../upnp.sample.tv</module>
176 <module>../upnp.sample.clock</module>
177 <module>../upnp.sample.binaryLight</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000178
179 <!-- <module>tools/mangen</module> -->
180
Richard S. Hall8c011c62007-04-17 14:31:35 +0000181
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000182 </modules>
183 </profile>
Stephane Frenotab672472006-08-29 13:29:31 +0000184 </profiles>
185
Karl Paulsd69e8af2006-08-12 09:51:20 +0000186 <distributionManagement>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000187 <site>
188 <id>felix website</id>
Marcel Offermansf6737032006-08-17 19:49:13 +0000189 <url>file:///${user.dir}/target/site-deployed/</url>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000190 </site>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000191 <repository>
Michael E. Rodriguez406386d2007-03-20 02:56:45 +0000192 <id>apache.incubator.releases</id>
193 <name>Apache Incubator Release Distribution Repository</name>
194 <url>scp://people.apache.org/www/people.apache.org/repo/m2-incubating-repository</url>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000195 </repository>
196 </distributionManagement>
197
198 <pluginRepositories>
199 <pluginRepository>
200 <id>apache.snapshots</id>
201 <name>snapshot plugins</name>
202 <url>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000203 http://people.apache.org/repo/m2-snapshot-repository
Karl Paulsd69e8af2006-08-12 09:51:20 +0000204 </url>
Richard S. Halla897e0e2007-02-13 05:55:13 +0000205 <releases>
206 <enabled>false</enabled>
207 </releases>
208 <snapshots>
209 <enabled>true</enabled>
210 </snapshots>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000211 </pluginRepository>
212 </pluginRepositories>
213
214 <!-- definitions for testing -->
215 <dependencies>
216 <dependency>
217 <groupId>junit</groupId>
218 <artifactId>junit</artifactId>
219 <version>3.8.1</version>
220 <scope>test</scope>
221 </dependency>
222 <dependency>
223 <groupId>easymock</groupId>
224 <artifactId>easymock</artifactId>
225 <version>1.2_Java1.3</version>
226 <scope>test</scope>
227 </dependency>
228 </dependencies>
229 <build>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000230 <pluginManagement>
231 <plugins>
232 <plugin>
233 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-compiler-plugin</artifactId>
235 <version>2.0.2</version>
236 </plugin>
237 <plugin>
238 <groupId>org.apache.maven.plugins</groupId>
239 <artifactId>maven-surefire-plugin</artifactId>
240 <version>2.3</version>
241 </plugin>
242 <plugin>
243 <groupId>org.apache.maven.plugins</groupId>
244 <artifactId>maven-jar-plugin</artifactId>
245 <version>2.1</version>
246 </plugin>
247 <plugin>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-plugin-plugin</artifactId>
250 <version>2.3</version>
251 </plugin>
252 <plugin>
253 <groupId>org.apache.maven.plugins</groupId>
254 <artifactId>maven-install-plugin</artifactId>
255 <version>2.1</version>
256 </plugin>
257 <plugin>
258 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-deploy-plugin</artifactId>
260 <version>2.3</version>
261 </plugin>
262 <plugin>
263 <groupId>org.apache.maven.plugins</groupId>
264 <artifactId>maven-site-plugin</artifactId>
265 <version>2.0-beta-5</version>
266 </plugin>
267 <plugin>
268 <groupId>org.apache.maven.plugins</groupId>
269 <artifactId>maven-project-info-reports-plugin</artifactId>
270 <version>2.0.1</version>
271 </plugin>
272 <plugin>
273 <groupId>org.apache.maven.plugins</groupId>
274 <artifactId>maven-jxr-plugin</artifactId>
275 <version>2.1</version>
276 </plugin>
277 <plugin>
278 <groupId>org.apache.maven.plugins</groupId>
279 <artifactId>maven-surefire-report-plugin</artifactId>
280 <version>2.3</version>
281 </plugin>
282 <plugin>
283 <groupId>org.apache.maven.plugins</groupId>
284 <artifactId>maven-javadoc-plugin</artifactId>
285 <version>2.2</version>
286 </plugin>
Karl Pauls0a3858c2007-07-13 22:03:31 +0000287<!-- <plugin>
Carsten Ziegeler97646542007-07-04 17:03:06 +0000288 <groupId>org.apache.felix</groupId>
289 <artifactId>maven-bundle-plugin</artifactId>
Karl Pauls0a3858c2007-07-13 22:03:31 +0000290 <version>1.1.0-SNAPSHOT</version>
291 </plugin> -->
Karl Pauls589e2b32007-07-11 18:29:29 +0000292<!-- <plugin>
293 <groupId>org.apache.maven.plugins</groupId>
294 <artifactId>maven-remote-resources-plugin</artifactId>
295 <version>1.0-alpha-5</version>
296 </plugin> -->
Richard S. Hall061dffd2007-04-28 15:11:03 +0000297 </plugins>
298 </pluginManagement>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000299 <plugins>
300 <plugin>
301 <groupId>org.apache.maven.plugins</groupId>
302 <artifactId>maven-compiler-plugin</artifactId>
303 <configuration>
304 <target>1.4</target>
305 </configuration>
306 </plugin>
307 <plugin>
308 <groupId>org.apache.maven.plugins</groupId>
309 <artifactId>maven-surefire-plugin</artifactId>
310 </plugin>
Stephane Frenotab672472006-08-29 13:29:31 +0000311 <!-- plugin>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000312 <groupId>org.apache.maven.plugins</groupId>
313 <artifactId>maven-surefire-report-plugin</artifactId>
Stephane Frenotab672472006-08-29 13:29:31 +0000314 </plugin -->
Karl Pauls589e2b32007-07-11 18:29:29 +0000315 <!-- We want to package up license resources in the JARs produced
316 <plugin>
317 <groupId>org.apache.maven.plugins</groupId>
318 <artifactId>maven-remote-resources-plugin</artifactId>
319 <executions>
320 <execution>
321 <goals>
322 <goal>process</goal>
323 </goals>
324 <configuration>
325 <resourceBundles>
326 <resourceBundle>org.apache:apache-jar-resource-bundle:1.0</resourceBundle>
327 </resourceBundles>
328 </configuration>
329 </execution>
330 </executions>
331 </plugin>-->
Karl Paulsd69e8af2006-08-12 09:51:20 +0000332 </plugins>
333 </build>
334 <reporting>
335 <plugins>
336 <plugin>
337 <groupId>org.apache.maven.plugins</groupId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000338 <artifactId>maven-site-plugin</artifactId>
339 <configuration>
Marcel Offermans5dcb02c2006-08-17 20:58:34 +0000340 <templateDirectory>${user.dir}/src/site/</templateDirectory>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000341 <template>maven-site.vm</template>
342 </configuration>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000343 </plugin>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000344 <plugin>
345 <groupId>org.apache.maven.plugins</groupId>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000346 <artifactId>maven-surefire-report-plugin</artifactId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000347 </plugin>
348 <plugin>
Richard S. Hall061dffd2007-04-28 15:11:03 +0000349 <groupId>org.apache.maven.plugins</groupId>
350 <artifactId>maven-jxr-plugin</artifactId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000351 </plugin>
352 <plugin>
353 <groupId>org.apache.maven.plugins</groupId>
354 <artifactId>maven-project-info-reports-plugin</artifactId>
355 <reportSets>
356 <reportSet>
357 <reports>
358 <report>index</report>
359 <report>dependencies</report>
360 <report>project-team</report>
361 <report>mailing-list</report>
362 <report>issue-tracking</report>
363 <report>license</report>
364 <report>scm</report>
365 </reports>
366 </reportSet>
367 </reportSets>
368 </plugin>
369 <!--plugin>
370 <groupId>org.apache.maven.plugins</groupId>
371 <artifactId>maven-javadoc-plugin</artifactId>
372 <configuration>
373 <aggregate>true</aggregate>
374 </configuration>
375 </plugin-->
Karl Paulsd69e8af2006-08-12 09:51:20 +0000376 </plugins>
377 </reporting>
378</project>