blob: a74f0b2694d3440d4c11dd3c92fe6c1f0438a6a3 [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. Hall1ca96a92007-02-12 15:46:10 +000088 <id>packaging-ipojo-bundle</id>
Stephane Frenotab672472006-08-29 13:29:31 +000089 <activation>
Richard S. Hall1ca96a92007-02-12 15:46:10 +000090 <property>
91 <name>packaging</name>
92 <value>ipojo-bundle</value>
93 </property>
94 </activation>
95 <modules>
96 <module>ipojo.arch</module>
97 </modules>
98 </profile>
99
100 <profile>
101 <id>packaging-bundle</id>
102 <activation>
103 <property>
104 <name>packaging</name>
105 <value>bundle</value>
106 </property>
107 </activation>
108 <modules>
109 <module>org.osgi.foundation</module>
110 <module>tools/maven2/maven-bundle-plugin</module>
111 <module>javax.servlet</module>
112 <module>org.osgi.core</module>
113 <module>org.osgi.compendium</module>
114 <module>framework</module>
115 <module>main</module>
116 <module>shell</module>
117 <module>shell.tui</module>
118 <module>bundlerepository</module>
119 <module>log</module>
120 <module>eventadmin</module>
121 <module>eventadmin.bridge.upnp</module>
122 <module>eventadmin.bridge.configuration</module>
123 <module>eventadmin.bridge.useradmin</module>
124 <module>eventadmin.bridge.wireadmin</module>
125 </modules>
126 </profile>
127
128 <profile>
129 <id>packaging-osgi-bundle</id>
130 <activation>
131 <property>
132 <name>packaging</name>
133 <value>osgi-bundle</value>
134 </property>
135 </activation>
136 <modules>
137 <module>tools/maven2/maven-osgi-plugin</module>
138 <module>shell.gui</module>
139 <module>shell.gui.plugin</module>
140 <module>org.apache.felix.daemon</module>
141 <module>org.apache.felix.dependencymanager</module>
142
143 <module>examples</module>
144
145 <module>servicebinder</module>
146 <module>wireadmin</module>
147 <module>upnp.extra</module>
148 <module>upnp.basedriver</module>
149 <module>upnp.tester</module>
150 <module>upnp.sample.tv</module>
151 <module>upnp.sample.clock</module>
152 <module>upnp.sample.binaryLight</module>
153 <!-- <module>http.jetty</module> -->
154 <module>scr</module>
155
156 <!-- <module>tools/mangen</module> -->
157
158 <module>ipojo</module>
159 <module>ipojo.metadata</module>
160 <module>ipojo.plugin</module>
161 </modules>
162 </profile>
163
164 <profile>
165 <id>osgi-bundle-mosgi</id>
166 <activation>
167 <property>
168 <name>packaging</name>
169 <value>osgi-bundle-mosgi</value>
170 </property>
171 <!--Two activation elements don't AND. <jdk>1.5</jdk>-->
Stephane Frenotab672472006-08-29 13:29:31 +0000172 </activation>
173 <modules>
174 <module>mosgi.console.ifc</module>
175 <module>mosgi.console.component</module>
176 <module>mosgi.console.gui</module>
177 <module>mosgi.jmx.agent</module>
178 <module>mosgi.jmx.httpconnector</module>
179 <module>mosgi.jmx.registry</module>
180 <module>mosgi.jmx.remotelogger</module>
181 <module>mosgi.jmx.rmiconnector</module>
182 <module>mosgi.managedelements.osgiprobes</module>
183 <module>mosgi.managedelements.osgiprobes.tab</module>
Stephane Frenot0f068b62006-08-30 11:12:48 +0000184 <module>mosgi.managedelements.bundlesprobes</module>
185 <module>mosgi.managedelements.bundlesprobes.tab</module>
Stephane Frenot593bac32006-08-30 12:42:49 +0000186 <module>mosgi.managedelements.obrprobe</module>
187 <module>mosgi.managedelements.obrprobe.tab</module>
Stephane Frenot8ed309a2006-08-31 14:04:13 +0000188 <module>mosgi.managedelements.memoryprobe</module>
Stephane Frenotab672472006-08-29 13:29:31 +0000189 </modules>
190 </profile>
Stephane Frenotab672472006-08-29 13:29:31 +0000191 </profiles>
192
Stephane Frenote8c7a982006-09-28 15:46:53 +0000193 <!-- Specify a default version number for dependencies -->
194 <dependencyManagement>
195 <dependencies>
196 <dependency>
197 <groupId>org.apache.felix</groupId>
198 <artifactId>org.osgi.core</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000199 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000200 </dependency>
201 <dependency>
202 <groupId>org.apache.felix</groupId>
203 <artifactId>org.osgi.compendium</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000204 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000205 </dependency>
206 <dependency>
207 <groupId>org.apache.felix</groupId>
208 <artifactId>org.apache.felix.framework</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000209 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000210 </dependency>
211 <dependency>
212 <groupId>org.apache.felix</groupId>
Richard S. Hall1ca96a92007-02-12 15:46:10 +0000213 <artifactId>org.apache.felix.bundlerepository</artifactId>
214 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000215 </dependency>
216 <dependency>
217 <groupId>org.apache.felix</groupId>
218 <artifactId>org.apache.felix.mosgi.jmx.registry</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000219 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000220 </dependency>
221 <dependency>
222 <groupId>org.apache.felix</groupId>
223 <artifactId>org.apache.felix.mosgi.jmx.agent</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000224 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000225 </dependency>
226 <dependency>
227 <groupId>org.apache.felix</groupId>
228 <artifactId>org.apache.felix.mosgi.console.ifc</artifactId>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000229 <version>0.9.0-incubator-SNAPSHOT</version>
Stephane Frenote8c7a982006-09-28 15:46:53 +0000230 </dependency>
231 </dependencies>
232 </dependencyManagement>
233
Karl Paulsd69e8af2006-08-12 09:51:20 +0000234 <distributionManagement>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000235 <site>
236 <id>felix website</id>
Marcel Offermansf6737032006-08-17 19:49:13 +0000237 <url>file:///${user.dir}/target/site-deployed/</url>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000238 </site>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000239 <repository>
Michael E. Rodriguez406386d2007-03-20 02:56:45 +0000240 <id>apache.incubator.releases</id>
241 <name>Apache Incubator Release Distribution Repository</name>
242 <url>scp://people.apache.org/www/people.apache.org/repo/m2-incubating-repository</url>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000243 </repository>
244 </distributionManagement>
245
246 <pluginRepositories>
247 <pluginRepository>
248 <id>apache.snapshots</id>
249 <name>snapshot plugins</name>
250 <url>
Richard S. Hallf2be1962006-12-22 19:46:42 +0000251 http://people.apache.org/repo/m2-snapshot-repository
Karl Paulsd69e8af2006-08-12 09:51:20 +0000252 </url>
Richard S. Halla897e0e2007-02-13 05:55:13 +0000253 <releases>
254 <enabled>false</enabled>
255 </releases>
256 <snapshots>
257 <enabled>true</enabled>
258 </snapshots>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000259 </pluginRepository>
260 </pluginRepositories>
261
262 <!-- definitions for testing -->
263 <dependencies>
264 <dependency>
265 <groupId>junit</groupId>
266 <artifactId>junit</artifactId>
267 <version>3.8.1</version>
268 <scope>test</scope>
269 </dependency>
270 <dependency>
271 <groupId>easymock</groupId>
272 <artifactId>easymock</artifactId>
273 <version>1.2_Java1.3</version>
274 <scope>test</scope>
275 </dependency>
276 </dependencies>
277 <build>
278 <plugins>
279 <plugin>
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-compiler-plugin</artifactId>
282 <configuration>
283 <target>1.4</target>
284 </configuration>
285 </plugin>
286 <plugin>
287 <groupId>org.apache.maven.plugins</groupId>
288 <artifactId>maven-surefire-plugin</artifactId>
289 </plugin>
Stephane Frenotab672472006-08-29 13:29:31 +0000290 <!-- plugin>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000291 <groupId>org.apache.maven.plugins</groupId>
292 <artifactId>maven-surefire-report-plugin</artifactId>
Stephane Frenotab672472006-08-29 13:29:31 +0000293 </plugin -->
Karl Paulsd69e8af2006-08-12 09:51:20 +0000294 </plugins>
295 </build>
296 <reporting>
297 <plugins>
298 <plugin>
299 <groupId>org.apache.maven.plugins</groupId>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000300 <artifactId>maven-site-plugin</artifactId>
301 <configuration>
Marcel Offermans5dcb02c2006-08-17 20:58:34 +0000302 <templateDirectory>${user.dir}/src/site/</templateDirectory>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000303 <template>maven-site.vm</template>
304 </configuration>
Karl Paulsd69e8af2006-08-12 09:51:20 +0000305 </plugin>
Marcel Offermans0ed87292006-08-17 19:10:30 +0000306 <plugin>
307 <groupId>org.apache.maven.plugins</groupId>
308 <artifactId>maven-surefire-plugin</artifactId>
309 </plugin>
310 <plugin>
311 <groupId>org.codehaus.mojo</groupId>
312 <artifactId>jxr-maven-plugin</artifactId>
313 </plugin>
314 <plugin>
315 <groupId>org.apache.maven.plugins</groupId>
316 <artifactId>maven-project-info-reports-plugin</artifactId>
317 <reportSets>
318 <reportSet>
319 <reports>
320 <report>index</report>
321 <report>dependencies</report>
322 <report>project-team</report>
323 <report>mailing-list</report>
324 <report>issue-tracking</report>
325 <report>license</report>
326 <report>scm</report>
327 </reports>
328 </reportSet>
329 </reportSets>
330 </plugin>
331 <!--plugin>
332 <groupId>org.apache.maven.plugins</groupId>
333 <artifactId>maven-javadoc-plugin</artifactId>
334 <configuration>
335 <aggregate>true</aggregate>
336 </configuration>
337 </plugin-->
Karl Paulsd69e8af2006-08-12 09:51:20 +0000338 </plugins>
339 </reporting>
340</project>