blob: f19ef57c3526c1808d12a00c3fe1684a2fc70104 [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-->
Karl Paulsd69e8af2006-08-12 09:51:20 +000019<project>
20 <modelVersion>4.0.0</modelVersion>
Michael E. Rodriguez406386d2007-03-20 02:56:45 +000021
22 <parent>
23 <groupId>org.apache</groupId>
24 <artifactId>apache</artifactId>
25 <version>4</version>
26 </parent>
27
Karl Paulsd69e8af2006-08-12 09:51:20 +000028 <groupId>org.apache.felix</groupId>
29 <artifactId>felix</artifactId>
30 <packaging>pom</packaging>
Marcel Offermans0ed87292006-08-17 19:10:30 +000031 <name>Apache Felix</name>
Richard S. Hallf2be1962006-12-22 19:46:42 +000032 <version>0.9.0-incubator-SNAPSHOT</version>
Marcel Offermans0ed87292006-08-17 19:10:30 +000033 <url>http://incubator.apache.org/felix/</url>
34 <description>Apache felix is an OSGi implementation.</description>
35
36 <issueManagement>
37 <system>Jira</system>
38 <url>http://issues.apache.org/jira/browse/FELIX</url>
Richard S. Hall1ca96a92007-02-12 15:46:10 +000039 </issueManagement>
Marcel Offermans0ed87292006-08-17 19:10:30 +000040
41 <mailingLists>
42 <mailingList>
43 <name>Felix Dev</name>
44 <subscribe>felix-dev-subscribe@incubator.apache.org</subscribe>
45 <unsubscribe>felix-dev-unsubscribe@incubator.apache.org</unsubscribe>
46 <post>-</post>
47 <archive>http://www.mail-archive.com/felix-dev%40incubator.apache.org/</archive>
48 </mailingList>
49 <mailingList>
50 <name>Felix Commits</name>
51 <subscribe>felix-commits-subscribe@incubator.apache.org</subscribe>
52 <unsubscribe>felix-commits-unsubscribe@incubator.apache.org</unsubscribe>
53 <post>-</post>
54 <archive>http://www.mail-archive.com/felix-commits%40incubator.apache.org/</archive>
55 </mailingList>
56 </mailingLists>
57
Marcel Offermans0ed87292006-08-17 19:10:30 +000058 <scm>
59 <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/felix</connection>
60 <developerConnection>scm:svn:http://svn.apache.org/repos/asf/incubator/felix</developerConnection>
61 <url>http://cvs.apache.org/viewcvs.cgi/incubator/felix/?root=Apache-SVN</url>
62 </scm>
Karl Paulsd69e8af2006-08-12 09:51:20 +000063
Richard S. Hall1ca96a92007-02-12 15:46:10 +000064 <!--
65 Felix contains 3 custom maven packaging plugins. Each creates a jar file
66 as an artifact.
67
68 maven-bundle-plugin
69 (bundle packaging - latest prefered plugin for generating OSGi bundles.)
70 maven-osgi-plugin
71 (osgi-bundle packaging - old plugin for generating OSGi bundles.)
72 org.apache.felix.ipojo.plugin
73 (plugin for generating iPOJO OSGi bundles.)
74
75 But with maven bug https://issues.apache.org/jira/browse/FELIX-198 files
76 are not always created with the correct extension in the repository.
Karl Paulsd69e8af2006-08-12 09:51:20 +000077
Richard S. Hall1ca96a92007-02-12 15:46:10 +000078 As a work around, this pom creates different profiles for building the
79 different types of felix modules.
Stephane Frenotab672472006-08-29 13:29:31 +000080
Richard S. Hall1ca96a92007-02-12 15:46:10 +000081 Usage:
82 mvn -Dpackaging=<type> clean install
83 -->
Karl Paulsd69e8af2006-08-12 09:51:20 +000084
Stephane Frenotab672472006-08-29 13:29:31 +000085 <profiles>
Richard S. Hall1ca96a92007-02-12 15:46:10 +000086
Stephane Frenotab672472006-08-29 13:29:31 +000087 <profile>
Richard S. Hall430f3352007-03-28 14:27:28 +000088 <id>packaging-plugins</id>
89 <activation>
90 <property>
91 <name>packaging</name>
92 <value>plugins</value>
93 </property>
94 </activation>
95 <modules>
96 <module>tools/maven2/maven-bundle-plugin</module>
97 <module>tools/maven2/maven-osgi-plugin</module>
98 <module>ipojo.plugin</module>
99 </modules>
100 </profile>
101
102 <profile>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000103 <id>packaging-ipojo-bundle</id>
Stephane Frenotab672472006-08-29 13:29:31 +0000104 <activation>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000105 <property>
106 <name>packaging</name>
107 <value>ipojo-bundle</value>
108 </property>
109 </activation>
110 <modules>
111 <module>ipojo.arch</module>
112 </modules>
113 </profile>
114
115 <profile>
116 <id>packaging-bundle</id>
117 <activation>
118 <property>
119 <name>packaging</name>
120 <value>bundle</value>
121 </property>
122 </activation>
123 <modules>
124 <module>org.osgi.foundation</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000125 <module>javax.servlet</module>
126 <module>org.osgi.core</module>
127 <module>org.osgi.compendium</module>
128 <module>framework</module>
129 <module>main</module>
130 <module>shell</module>
131 <module>shell.tui</module>
132 <module>bundlerepository</module>
133 <module>log</module>
134 <module>eventadmin</module>
135 <module>eventadmin.bridge.upnp</module>
136 <module>eventadmin.bridge.configuration</module>
137 <module>eventadmin.bridge.useradmin</module>
138 <module>eventadmin.bridge.wireadmin</module>
Felix Meschbergere7daaff2007-04-11 18:31:03 +0000139
140 <module>scr</module>
141 <module>configadmin</module>
142 <module>metatype</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000143 </modules>
144 </profile>
145
146 <profile>
147 <id>packaging-osgi-bundle</id>
148 <activation>
149 <property>
150 <name>packaging</name>
151 <value>osgi-bundle</value>
152 </property>
153 </activation>
154 <modules>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000155 <module>shell.gui</module>
156 <module>shell.gui.plugin</module>
157 <module>org.apache.felix.daemon</module>
Richard S. Halle33af562007-03-28 16:06:34 +0000158 <module>dependencymanager</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000159
160 <module>examples</module>
161
162 <module>servicebinder</module>
163 <module>wireadmin</module>
164 <module>upnp.extra</module>
165 <module>upnp.basedriver</module>
166 <module>upnp.tester</module>
167 <module>upnp.sample.tv</module>
168 <module>upnp.sample.clock</module>
169 <module>upnp.sample.binaryLight</module>
170 <!-- <module>http.jetty</module> -->
Richard S. Hallebe20992007-04-06 16:21:53 +0000171
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000172
173 <!-- <module>tools/mangen</module> -->
174
175 <module>ipojo</module>
176 <module>ipojo.metadata</module>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000177 </modules>
178 </profile>
179
180 <profile>
181 <id>osgi-bundle-mosgi</id>
182 <activation>
183 <property>
184 <name>packaging</name>
185 <value>osgi-bundle-mosgi</value>
186 </property>
187 <!--Two activation elements don't AND. <jdk>1.5</jdk>-->
Stephane Frenotab672472006-08-29 13:29:31 +0000188 </activation>
189 <modules>
190 <module>mosgi.console.ifc</module>
191 <module>mosgi.console.component</module>
192 <module>mosgi.console.gui</module>
193 <module>mosgi.jmx.agent</module>
194 <module>mosgi.jmx.httpconnector</module>
195 <module>mosgi.jmx.registry</module>
196 <module>mosgi.jmx.remotelogger</module>
197 <module>mosgi.jmx.rmiconnector</module>
198 <module>mosgi.managedelements.osgiprobes</module>
199 <module>mosgi.managedelements.osgiprobes.tab</module>
Stephane Frenot0f068b62006-08-30 11:12:48 +0000200 <module>mosgi.managedelements.bundlesprobes</module>
201 <module>mosgi.managedelements.bundlesprobes.tab</module>
Stephane Frenot593bac32006-08-30 12:42:49 +0000202 <module>mosgi.managedelements.obrprobe</module>
203 <module>mosgi.managedelements.obrprobe.tab</module>
Stephane Frenot8ed309a2006-08-31 14:04:13 +0000204 <module>mosgi.managedelements.memoryprobe</module>
Stephane Frenotab672472006-08-29 13:29:31 +0000205 </modules>
206 </profile>
Stephane Frenotab672472006-08-29 13:29:31 +0000207 </profiles>
208
Stephane Frenote8c7a982006-09-28 15:46:53 +0000209 <!-- Specify a default version number for dependencies -->
210 <dependencyManagement>
211 <dependencies>
212 <dependency>
213 <groupId>org.apache.felix</groupId>
214 <artifactId>org.osgi.core</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000215 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000216 </dependency>
217 <dependency>
218 <groupId>org.apache.felix</groupId>
219 <artifactId>org.osgi.compendium</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000220 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000221 </dependency>
222 <dependency>
223 <groupId>org.apache.felix</groupId>
224 <artifactId>org.apache.felix.framework</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000225 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000226 </dependency>
227 <dependency>
228 <groupId>org.apache.felix</groupId>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000229 <artifactId>org.apache.felix.bundlerepository</artifactId>
230 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000231 </dependency>
232 <dependency>
233 <groupId>org.apache.felix</groupId>
234 <artifactId>org.apache.felix.mosgi.jmx.registry</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000235 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000236 </dependency>
237 <dependency>
238 <groupId>org.apache.felix</groupId>
239 <artifactId>org.apache.felix.mosgi.jmx.agent</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000240 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000241 </dependency>
242 <dependency>
243 <groupId>org.apache.felix</groupId>
244 <artifactId>org.apache.felix.mosgi.console.ifc</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000245 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000246 </dependency>
247 </dependencies>
248 </dependencyManagement>
249
Karl Paulsd69e8af2006-08-12 09:51:20 +0000250 <distributionManagement>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000251 <site>
252 <id>felix website</id>
Marcel Offermansf6737032006-08-17 19:49:13 +0000253 <url>file:///${user.dir}/target/site-deployed/</url>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000254 </site>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000255 <repository>
Michael E. Rodriguez406386d2007-03-20 02:56:45 +0000256 <id>apache.incubator.releases</id>
257 <name>Apache Incubator Release Distribution Repository</name>
258 <url>scp://people.apache.org/www/people.apache.org/repo/m2-incubating-repository</url>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000259 </repository>
260 </distributionManagement>
261
262 <pluginRepositories>
263 <pluginRepository>
264 <id>apache.snapshots</id>
265 <name>snapshot plugins</name>
266 <url>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000267 http://people.apache.org/repo/m2-snapshot-repository
Karl Paulsd69e8af2006-08-12 09:51:20 +0000268 </url>
Richard S. Halla897e0e2007-02-13 05:55:13 +0000269 <releases>
270 <enabled>false</enabled>
271 </releases>
272 <snapshots>
273 <enabled>true</enabled>
274 </snapshots>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000275 </pluginRepository>
276 </pluginRepositories>
277
278 <!-- definitions for testing -->
279 <dependencies>
280 <dependency>
281 <groupId>junit</groupId>
282 <artifactId>junit</artifactId>
283 <version>3.8.1</version>
284 <scope>test</scope>
285 </dependency>
286 <dependency>
287 <groupId>easymock</groupId>
288 <artifactId>easymock</artifactId>
289 <version>1.2_Java1.3</version>
290 <scope>test</scope>
291 </dependency>
292 </dependencies>
293 <build>
294 <plugins>
295 <plugin>
296 <groupId>org.apache.maven.plugins</groupId>
297 <artifactId>maven-compiler-plugin</artifactId>
298 <configuration>
299 <target>1.4</target>
300 </configuration>
301 </plugin>
302 <plugin>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-surefire-plugin</artifactId>
305 </plugin>
Stephane Frenotab672472006-08-29 13:29:31 +0000306 <!-- plugin>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000307 <groupId>org.apache.maven.plugins</groupId>
308 <artifactId>maven-surefire-report-plugin</artifactId>
Stephane Frenotab672472006-08-29 13:29:31 +0000309 </plugin -->
Karl Paulsd69e8af2006-08-12 09:51:20 +0000310 </plugins>
311 </build>
312 <reporting>
313 <plugins>
314 <plugin>
315 <groupId>org.apache.maven.plugins</groupId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000316 <artifactId>maven-site-plugin</artifactId>
317 <configuration>
Marcel Offermans5dcb02c2006-08-17 20:58:34 +0000318 <templateDirectory>${user.dir}/src/site/</templateDirectory>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000319 <template>maven-site.vm</template>
320 </configuration>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000321 </plugin>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000322 <plugin>
323 <groupId>org.apache.maven.plugins</groupId>
324 <artifactId>maven-surefire-plugin</artifactId>
325 </plugin>
326 <plugin>
327 <groupId>org.codehaus.mojo</groupId>
328 <artifactId>jxr-maven-plugin</artifactId>
329 </plugin>
330 <plugin>
331 <groupId>org.apache.maven.plugins</groupId>
332 <artifactId>maven-project-info-reports-plugin</artifactId>
333 <reportSets>
334 <reportSet>
335 <reports>
336 <report>index</report>
337 <report>dependencies</report>
338 <report>project-team</report>
339 <report>mailing-list</report>
340 <report>issue-tracking</report>
341 <report>license</report>
342 <report>scm</report>
343 </reports>
344 </reportSet>
345 </reportSets>
346 </plugin>
347 <!--plugin>
348 <groupId>org.apache.maven.plugins</groupId>
349 <artifactId>maven-javadoc-plugin</artifactId>
350 <configuration>
351 <aggregate>true</aggregate>
352 </configuration>
353 </plugin-->
Karl Paulsd69e8af2006-08-12 09:51:20 +0000354 </plugins>
355 </reporting>
356</project>