blob: 7ee5ebee1d1d2384239d97d64807d317ac1db466 [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>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix</artifactId>
23 <packaging>pom</packaging>
Marcel Offermans0ed87292006-08-17 19:10:30 +000024 <name>Apache Felix</name>
Richard S. Hallf2be1962006-12-22 19:46:42 +000025 <version>0.9.0-incubator-SNAPSHOT</version>
Marcel Offermans0ed87292006-08-17 19:10:30 +000026 <url>http://incubator.apache.org/felix/</url>
27 <description>Apache felix is an OSGi implementation.</description>
28
29 <issueManagement>
30 <system>Jira</system>
31 <url>http://issues.apache.org/jira/browse/FELIX</url>
Richard S. Hall1ca96a92007-02-12 15:46:10 +000032 </issueManagement>
Marcel Offermans0ed87292006-08-17 19:10:30 +000033
34 <mailingLists>
35 <mailingList>
36 <name>Felix Dev</name>
37 <subscribe>felix-dev-subscribe@incubator.apache.org</subscribe>
38 <unsubscribe>felix-dev-unsubscribe@incubator.apache.org</unsubscribe>
39 <post>-</post>
40 <archive>http://www.mail-archive.com/felix-dev%40incubator.apache.org/</archive>
41 </mailingList>
42 <mailingList>
43 <name>Felix Commits</name>
44 <subscribe>felix-commits-subscribe@incubator.apache.org</subscribe>
45 <unsubscribe>felix-commits-unsubscribe@incubator.apache.org</unsubscribe>
46 <post>-</post>
47 <archive>http://www.mail-archive.com/felix-commits%40incubator.apache.org/</archive>
48 </mailingList>
49 </mailingLists>
50
51 <licenses>
52 <license>
53 <name>The Apache Software License, Version 2.0</name>
54 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
55 <distribution>repo</distribution>
56 </license>
57 </licenses>
Richard S. Hall1ca96a92007-02-12 15:46:10 +000058
Marcel Offermans0ed87292006-08-17 19:10:30 +000059 <scm>
60 <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/felix</connection>
61 <developerConnection>scm:svn:http://svn.apache.org/repos/asf/incubator/felix</developerConnection>
62 <url>http://cvs.apache.org/viewcvs.cgi/incubator/felix/?root=Apache-SVN</url>
63 </scm>
Karl Paulsd69e8af2006-08-12 09:51:20 +000064
Richard S. Hall1ca96a92007-02-12 15:46:10 +000065 <!--
66 Felix contains 3 custom maven packaging plugins. Each creates a jar file
67 as an artifact.
68
69 maven-bundle-plugin
70 (bundle packaging - latest prefered plugin for generating OSGi bundles.)
71 maven-osgi-plugin
72 (osgi-bundle packaging - old plugin for generating OSGi bundles.)
73 org.apache.felix.ipojo.plugin
74 (plugin for generating iPOJO OSGi bundles.)
75
76 But with maven bug https://issues.apache.org/jira/browse/FELIX-198 files
77 are not always created with the correct extension in the repository.
Karl Paulsd69e8af2006-08-12 09:51:20 +000078
Richard S. Hall1ca96a92007-02-12 15:46:10 +000079 As a work around, this pom creates different profiles for building the
80 different types of felix modules.
Stephane Frenotab672472006-08-29 13:29:31 +000081
Richard S. Hall1ca96a92007-02-12 15:46:10 +000082 Usage:
83 mvn -Dpackaging=<type> clean install
84 -->
Karl Paulsd69e8af2006-08-12 09:51:20 +000085
Stephane Frenotab672472006-08-29 13:29:31 +000086 <profiles>
Richard S. Hall1ca96a92007-02-12 15:46:10 +000087
Stephane Frenotab672472006-08-29 13:29:31 +000088 <profile>
Richard S. Hall1ca96a92007-02-12 15:46:10 +000089 <id>packaging-ipojo-bundle</id>
Stephane Frenotab672472006-08-29 13:29:31 +000090 <activation>
Richard S. Hall1ca96a92007-02-12 15:46:10 +000091 <property>
92 <name>packaging</name>
93 <value>ipojo-bundle</value>
94 </property>
95 </activation>
96 <modules>
97 <module>ipojo.arch</module>
98 </modules>
99 </profile>
100
101 <profile>
102 <id>packaging-bundle</id>
103 <activation>
104 <property>
105 <name>packaging</name>
106 <value>bundle</value>
107 </property>
108 </activation>
109 <modules>
110 <module>org.osgi.foundation</module>
111 <module>tools/maven2/maven-bundle-plugin</module>
112 <module>javax.servlet</module>
113 <module>org.osgi.core</module>
114 <module>org.osgi.compendium</module>
115 <module>framework</module>
116 <module>main</module>
117 <module>shell</module>
118 <module>shell.tui</module>
119 <module>bundlerepository</module>
120 <module>log</module>
121 <module>eventadmin</module>
122 <module>eventadmin.bridge.upnp</module>
123 <module>eventadmin.bridge.configuration</module>
124 <module>eventadmin.bridge.useradmin</module>
125 <module>eventadmin.bridge.wireadmin</module>
126 </modules>
127 </profile>
128
129 <profile>
130 <id>packaging-osgi-bundle</id>
131 <activation>
132 <property>
133 <name>packaging</name>
134 <value>osgi-bundle</value>
135 </property>
136 </activation>
137 <modules>
138 <module>tools/maven2/maven-osgi-plugin</module>
139 <module>shell.gui</module>
140 <module>shell.gui.plugin</module>
141 <module>org.apache.felix.daemon</module>
142 <module>org.apache.felix.dependencymanager</module>
143
144 <module>examples</module>
145
146 <module>servicebinder</module>
147 <module>wireadmin</module>
148 <module>upnp.extra</module>
149 <module>upnp.basedriver</module>
150 <module>upnp.tester</module>
151 <module>upnp.sample.tv</module>
152 <module>upnp.sample.clock</module>
153 <module>upnp.sample.binaryLight</module>
154 <!-- <module>http.jetty</module> -->
155 <module>scr</module>
156
157 <!-- <module>tools/mangen</module> -->
158
159 <module>ipojo</module>
160 <module>ipojo.metadata</module>
161 <module>ipojo.plugin</module>
162 </modules>
163 </profile>
164
165 <profile>
166 <id>osgi-bundle-mosgi</id>
167 <activation>
168 <property>
169 <name>packaging</name>
170 <value>osgi-bundle-mosgi</value>
171 </property>
172 <!--Two activation elements don't AND. <jdk>1.5</jdk>-->
Stephane Frenotab672472006-08-29 13:29:31 +0000173 </activation>
174 <modules>
175 <module>mosgi.console.ifc</module>
176 <module>mosgi.console.component</module>
177 <module>mosgi.console.gui</module>
178 <module>mosgi.jmx.agent</module>
179 <module>mosgi.jmx.httpconnector</module>
180 <module>mosgi.jmx.registry</module>
181 <module>mosgi.jmx.remotelogger</module>
182 <module>mosgi.jmx.rmiconnector</module>
183 <module>mosgi.managedelements.osgiprobes</module>
184 <module>mosgi.managedelements.osgiprobes.tab</module>
Stephane Frenot0f068b62006-08-30 11:12:48 +0000185 <module>mosgi.managedelements.bundlesprobes</module>
186 <module>mosgi.managedelements.bundlesprobes.tab</module>
Stephane Frenot593bac32006-08-30 12:42:49 +0000187 <module>mosgi.managedelements.obrprobe</module>
188 <module>mosgi.managedelements.obrprobe.tab</module>
Stephane Frenot8ed309a2006-08-31 14:04:13 +0000189 <module>mosgi.managedelements.memoryprobe</module>
Stephane Frenotab672472006-08-29 13:29:31 +0000190 </modules>
191 </profile>
Stephane Frenotab672472006-08-29 13:29:31 +0000192 </profiles>
193
Stephane Frenote8c7a982006-09-28 15:46:53 +0000194 <!-- Specify a default version number for dependencies -->
195 <dependencyManagement>
196 <dependencies>
197 <dependency>
198 <groupId>org.apache.felix</groupId>
199 <artifactId>org.osgi.core</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000200 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000201 </dependency>
202 <dependency>
203 <groupId>org.apache.felix</groupId>
204 <artifactId>org.osgi.compendium</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000205 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000206 </dependency>
207 <dependency>
208 <groupId>org.apache.felix</groupId>
209 <artifactId>org.apache.felix.framework</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000210 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000211 </dependency>
212 <dependency>
213 <groupId>org.apache.felix</groupId>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000214 <artifactId>org.apache.felix.bundlerepository</artifactId>
215 <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.apache.felix.mosgi.jmx.registry</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.mosgi.jmx.agent</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>
229 <artifactId>org.apache.felix.mosgi.console.ifc</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000230 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000231 </dependency>
232 </dependencies>
233 </dependencyManagement>
234
Karl Paulsd69e8af2006-08-12 09:51:20 +0000235 <repositories>
236 <!-- For snapshots (no release jars or non-apache jars) -->
237 <repository>
238 <id>apache.snapshots</id>
239 <name>Apache Snapshot Repository</name>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000240 <url>http://people.apache.org/repo/m2-snapshot-repository</url>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000241 </repository>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000242
Karl Paulsd69e8af2006-08-12 09:51:20 +0000243 <repository>
244 <id>safehaus</id>
245 <name>Alternate Repository for Missing Ibiblio Artifacts</name>
246 <url>http://m2.safehaus.org</url>
247 </repository>
248 </repositories>
249
250 <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 <snapshotRepository>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000256 <id>apache.snapshots</id>
Richard S. Halle0341b22006-10-20 19:15:10 +0000257 <name>Apache Snapshot Repository</name>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000258 <url>
Richard S. Halle0341b22006-10-20 19:15:10 +0000259 scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository
Karl Paulsd69e8af2006-08-12 09:51:20 +0000260 </url>
261 </snapshotRepository>
262 <repository>
263 <name>ASF Mirrored M2 Distributions</name>
264 <id>apache.distributions</id>
265 <url>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000266 scp://people.apache.org/www/people.apache.org/repo/m2-incubating-repository
Karl Paulsd69e8af2006-08-12 09:51:20 +0000267 </url>
268 </repository>
269 </distributionManagement>
270
271 <pluginRepositories>
272 <pluginRepository>
273 <id>apache.snapshots</id>
274 <name>snapshot plugins</name>
275 <url>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000276 http://people.apache.org/repo/m2-snapshot-repository
Karl Paulsd69e8af2006-08-12 09:51:20 +0000277 </url>
Richard S. Halla897e0e2007-02-13 05:55:13 +0000278 <releases>
279 <enabled>false</enabled>
280 </releases>
281 <snapshots>
282 <enabled>true</enabled>
283 </snapshots>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000284 </pluginRepository>
285 </pluginRepositories>
286
287 <!-- definitions for testing -->
288 <dependencies>
289 <dependency>
290 <groupId>junit</groupId>
291 <artifactId>junit</artifactId>
292 <version>3.8.1</version>
293 <scope>test</scope>
294 </dependency>
295 <dependency>
296 <groupId>easymock</groupId>
297 <artifactId>easymock</artifactId>
298 <version>1.2_Java1.3</version>
299 <scope>test</scope>
300 </dependency>
301 </dependencies>
302 <build>
303 <plugins>
304 <plugin>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-compiler-plugin</artifactId>
307 <configuration>
308 <target>1.4</target>
309 </configuration>
310 </plugin>
311 <plugin>
312 <groupId>org.apache.maven.plugins</groupId>
313 <artifactId>maven-surefire-plugin</artifactId>
314 </plugin>
Stephane Frenotab672472006-08-29 13:29:31 +0000315 <!-- plugin>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000316 <groupId>org.apache.maven.plugins</groupId>
317 <artifactId>maven-surefire-report-plugin</artifactId>
Stephane Frenotab672472006-08-29 13:29:31 +0000318 </plugin -->
Karl Paulsd69e8af2006-08-12 09:51:20 +0000319 </plugins>
320 </build>
321 <reporting>
322 <plugins>
323 <plugin>
324 <groupId>org.apache.maven.plugins</groupId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000325 <artifactId>maven-site-plugin</artifactId>
326 <configuration>
Marcel Offermans5dcb02c2006-08-17 20:58:34 +0000327 <templateDirectory>${user.dir}/src/site/</templateDirectory>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000328 <template>maven-site.vm</template>
329 </configuration>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000330 </plugin>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000331 <plugin>
332 <groupId>org.apache.maven.plugins</groupId>
333 <artifactId>maven-surefire-plugin</artifactId>
334 </plugin>
335 <plugin>
336 <groupId>org.codehaus.mojo</groupId>
337 <artifactId>jxr-maven-plugin</artifactId>
338 </plugin>
339 <plugin>
340 <groupId>org.apache.maven.plugins</groupId>
341 <artifactId>maven-project-info-reports-plugin</artifactId>
342 <reportSets>
343 <reportSet>
344 <reports>
345 <report>index</report>
346 <report>dependencies</report>
347 <report>project-team</report>
348 <report>mailing-list</report>
349 <report>issue-tracking</report>
350 <report>license</report>
351 <report>scm</report>
352 </reports>
353 </reportSet>
354 </reportSets>
355 </plugin>
356 <!--plugin>
357 <groupId>org.apache.maven.plugins</groupId>
358 <artifactId>maven-javadoc-plugin</artifactId>
359 <configuration>
360 <aggregate>true</aggregate>
361 </configuration>
362 </plugin-->
Karl Paulsd69e8af2006-08-12 09:51:20 +0000363 </plugins>
364 </reporting>
365</project>