Karl Pauls | 4ebe508 | 2006-10-30 15:00:08 +0000 | [diff] [blame] | 1 | <!-- |
| 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 Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 19 | <project> |
| 20 | <modelVersion>4.0.0</modelVersion> |
Michael E. Rodriguez | 406386d | 2007-03-20 02:56:45 +0000 | [diff] [blame] | 21 | |
| 22 | <parent> |
| 23 | <groupId>org.apache</groupId> |
| 24 | <artifactId>apache</artifactId> |
| 25 | <version>4</version> |
| 26 | </parent> |
| 27 | |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 28 | <groupId>org.apache.felix</groupId> |
| 29 | <artifactId>felix</artifactId> |
| 30 | <packaging>pom</packaging> |
Marcel Offermans | 0ed8729 | 2006-08-17 19:10:30 +0000 | [diff] [blame] | 31 | <name>Apache Felix</name> |
Richard S. Hall | f2be196 | 2006-12-22 19:46:42 +0000 | [diff] [blame] | 32 | <version>0.9.0-incubator-SNAPSHOT</version> |
Marcel Offermans | 0ed8729 | 2006-08-17 19:10:30 +0000 | [diff] [blame] | 33 | <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. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 39 | </issueManagement> |
Marcel Offermans | 0ed8729 | 2006-08-17 19:10:30 +0000 | [diff] [blame] | 40 | |
| 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 Offermans | 0ed8729 | 2006-08-17 19:10:30 +0000 | [diff] [blame] | 58 | <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 Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 63 | |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 64 | <!-- |
| 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 Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 77 | |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 78 | As a work around, this pom creates different profiles for building the |
| 79 | different types of felix modules. |
Stephane Frenot | ab67247 | 2006-08-29 13:29:31 +0000 | [diff] [blame] | 80 | |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 81 | Usage: |
| 82 | mvn -Dpackaging=<type> clean install |
| 83 | --> |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 84 | |
Stephane Frenot | ab67247 | 2006-08-29 13:29:31 +0000 | [diff] [blame] | 85 | <profiles> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 86 | |
Stephane Frenot | ab67247 | 2006-08-29 13:29:31 +0000 | [diff] [blame] | 87 | <profile> |
Richard S. Hall | 430f335 | 2007-03-28 14:27:28 +0000 | [diff] [blame] | 88 | <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. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 103 | <id>packaging-ipojo-bundle</id> |
Stephane Frenot | ab67247 | 2006-08-29 13:29:31 +0000 | [diff] [blame] | 104 | <activation> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 105 | <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. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 125 | <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 Meschberger | e7daaff | 2007-04-11 18:31:03 +0000 | [diff] [blame] | 139 | |
| 140 | <module>scr</module> |
| 141 | <module>configadmin</module> |
| 142 | <module>metatype</module> |
Richard S. Hall | 8c011c6 | 2007-04-17 14:31:35 +0000 | [diff] [blame] | 143 | |
| 144 | <module>ipojo</module> |
| 145 | <module>ipojo.metadata</module> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 146 | </modules> |
| 147 | </profile> |
| 148 | |
| 149 | <profile> |
| 150 | <id>packaging-osgi-bundle</id> |
| 151 | <activation> |
| 152 | <property> |
| 153 | <name>packaging</name> |
| 154 | <value>osgi-bundle</value> |
| 155 | </property> |
| 156 | </activation> |
| 157 | <modules> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 158 | <module>shell.gui</module> |
| 159 | <module>shell.gui.plugin</module> |
| 160 | <module>org.apache.felix.daemon</module> |
Richard S. Hall | e33af56 | 2007-03-28 16:06:34 +0000 | [diff] [blame] | 161 | <module>dependencymanager</module> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 162 | |
| 163 | <module>examples</module> |
| 164 | |
| 165 | <module>servicebinder</module> |
| 166 | <module>wireadmin</module> |
| 167 | <module>upnp.extra</module> |
| 168 | <module>upnp.basedriver</module> |
| 169 | <module>upnp.tester</module> |
| 170 | <module>upnp.sample.tv</module> |
| 171 | <module>upnp.sample.clock</module> |
| 172 | <module>upnp.sample.binaryLight</module> |
| 173 | <!-- <module>http.jetty</module> --> |
Richard S. Hall | ebe2099 | 2007-04-06 16:21:53 +0000 | [diff] [blame] | 174 | |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 175 | |
| 176 | <!-- <module>tools/mangen</module> --> |
| 177 | |
Richard S. Hall | 8c011c6 | 2007-04-17 14:31:35 +0000 | [diff] [blame] | 178 | |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 179 | </modules> |
| 180 | </profile> |
| 181 | |
| 182 | <profile> |
| 183 | <id>osgi-bundle-mosgi</id> |
| 184 | <activation> |
| 185 | <property> |
| 186 | <name>packaging</name> |
| 187 | <value>osgi-bundle-mosgi</value> |
| 188 | </property> |
| 189 | <!--Two activation elements don't AND. <jdk>1.5</jdk>--> |
Stephane Frenot | ab67247 | 2006-08-29 13:29:31 +0000 | [diff] [blame] | 190 | </activation> |
| 191 | <modules> |
| 192 | <module>mosgi.console.ifc</module> |
| 193 | <module>mosgi.console.component</module> |
| 194 | <module>mosgi.console.gui</module> |
| 195 | <module>mosgi.jmx.agent</module> |
| 196 | <module>mosgi.jmx.httpconnector</module> |
| 197 | <module>mosgi.jmx.registry</module> |
| 198 | <module>mosgi.jmx.remotelogger</module> |
| 199 | <module>mosgi.jmx.rmiconnector</module> |
| 200 | <module>mosgi.managedelements.osgiprobes</module> |
| 201 | <module>mosgi.managedelements.osgiprobes.tab</module> |
Stephane Frenot | 0f068b6 | 2006-08-30 11:12:48 +0000 | [diff] [blame] | 202 | <module>mosgi.managedelements.bundlesprobes</module> |
| 203 | <module>mosgi.managedelements.bundlesprobes.tab</module> |
Stephane Frenot | 593bac3 | 2006-08-30 12:42:49 +0000 | [diff] [blame] | 204 | <module>mosgi.managedelements.obrprobe</module> |
| 205 | <module>mosgi.managedelements.obrprobe.tab</module> |
Stephane Frenot | 8ed309a | 2006-08-31 14:04:13 +0000 | [diff] [blame] | 206 | <module>mosgi.managedelements.memoryprobe</module> |
Stephane Frenot | ab67247 | 2006-08-29 13:29:31 +0000 | [diff] [blame] | 207 | </modules> |
| 208 | </profile> |
Stephane Frenot | ab67247 | 2006-08-29 13:29:31 +0000 | [diff] [blame] | 209 | </profiles> |
| 210 | |
Stephane Frenot | e8c7a98 | 2006-09-28 15:46:53 +0000 | [diff] [blame] | 211 | <!-- Specify a default version number for dependencies --> |
| 212 | <dependencyManagement> |
| 213 | <dependencies> |
| 214 | <dependency> |
| 215 | <groupId>org.apache.felix</groupId> |
| 216 | <artifactId>org.osgi.core</artifactId> |
Richard S. Hall | f2be196 | 2006-12-22 19:46:42 +0000 | [diff] [blame] | 217 | <version>0.9.0-incubator-SNAPSHOT</version> |
Stephane Frenot | e8c7a98 | 2006-09-28 15:46:53 +0000 | [diff] [blame] | 218 | </dependency> |
| 219 | <dependency> |
| 220 | <groupId>org.apache.felix</groupId> |
| 221 | <artifactId>org.osgi.compendium</artifactId> |
Richard S. Hall | f2be196 | 2006-12-22 19:46:42 +0000 | [diff] [blame] | 222 | <version>0.9.0-incubator-SNAPSHOT</version> |
Stephane Frenot | e8c7a98 | 2006-09-28 15:46:53 +0000 | [diff] [blame] | 223 | </dependency> |
| 224 | <dependency> |
| 225 | <groupId>org.apache.felix</groupId> |
| 226 | <artifactId>org.apache.felix.framework</artifactId> |
Richard S. Hall | f2be196 | 2006-12-22 19:46:42 +0000 | [diff] [blame] | 227 | <version>0.9.0-incubator-SNAPSHOT</version> |
Stephane Frenot | e8c7a98 | 2006-09-28 15:46:53 +0000 | [diff] [blame] | 228 | </dependency> |
| 229 | <dependency> |
| 230 | <groupId>org.apache.felix</groupId> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 231 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
| 232 | <version>0.9.0-incubator-SNAPSHOT</version> |
Stephane Frenot | e8c7a98 | 2006-09-28 15:46:53 +0000 | [diff] [blame] | 233 | </dependency> |
| 234 | <dependency> |
| 235 | <groupId>org.apache.felix</groupId> |
| 236 | <artifactId>org.apache.felix.mosgi.jmx.registry</artifactId> |
Richard S. Hall | f2be196 | 2006-12-22 19:46:42 +0000 | [diff] [blame] | 237 | <version>0.9.0-incubator-SNAPSHOT</version> |
Stephane Frenot | e8c7a98 | 2006-09-28 15:46:53 +0000 | [diff] [blame] | 238 | </dependency> |
| 239 | <dependency> |
| 240 | <groupId>org.apache.felix</groupId> |
| 241 | <artifactId>org.apache.felix.mosgi.jmx.agent</artifactId> |
Richard S. Hall | f2be196 | 2006-12-22 19:46:42 +0000 | [diff] [blame] | 242 | <version>0.9.0-incubator-SNAPSHOT</version> |
Stephane Frenot | e8c7a98 | 2006-09-28 15:46:53 +0000 | [diff] [blame] | 243 | </dependency> |
| 244 | <dependency> |
| 245 | <groupId>org.apache.felix</groupId> |
| 246 | <artifactId>org.apache.felix.mosgi.console.ifc</artifactId> |
Richard S. Hall | f2be196 | 2006-12-22 19:46:42 +0000 | [diff] [blame] | 247 | <version>0.9.0-incubator-SNAPSHOT</version> |
Stephane Frenot | e8c7a98 | 2006-09-28 15:46:53 +0000 | [diff] [blame] | 248 | </dependency> |
| 249 | </dependencies> |
| 250 | </dependencyManagement> |
| 251 | |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 252 | <distributionManagement> |
Marcel Offermans | 0ed8729 | 2006-08-17 19:10:30 +0000 | [diff] [blame] | 253 | <site> |
| 254 | <id>felix website</id> |
Marcel Offermans | f673703 | 2006-08-17 19:49:13 +0000 | [diff] [blame] | 255 | <url>file:///${user.dir}/target/site-deployed/</url> |
Marcel Offermans | 0ed8729 | 2006-08-17 19:10:30 +0000 | [diff] [blame] | 256 | </site> |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 257 | <repository> |
Michael E. Rodriguez | 406386d | 2007-03-20 02:56:45 +0000 | [diff] [blame] | 258 | <id>apache.incubator.releases</id> |
| 259 | <name>Apache Incubator Release Distribution Repository</name> |
| 260 | <url>scp://people.apache.org/www/people.apache.org/repo/m2-incubating-repository</url> |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 261 | </repository> |
| 262 | </distributionManagement> |
| 263 | |
| 264 | <pluginRepositories> |
| 265 | <pluginRepository> |
| 266 | <id>apache.snapshots</id> |
| 267 | <name>snapshot plugins</name> |
| 268 | <url> |
Richard S. Hall | f2be196 | 2006-12-22 19:46:42 +0000 | [diff] [blame] | 269 | http://people.apache.org/repo/m2-snapshot-repository |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 270 | </url> |
Richard S. Hall | a897e0e | 2007-02-13 05:55:13 +0000 | [diff] [blame] | 271 | <releases> |
| 272 | <enabled>false</enabled> |
| 273 | </releases> |
| 274 | <snapshots> |
| 275 | <enabled>true</enabled> |
| 276 | </snapshots> |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 277 | </pluginRepository> |
| 278 | </pluginRepositories> |
| 279 | |
| 280 | <!-- definitions for testing --> |
| 281 | <dependencies> |
| 282 | <dependency> |
| 283 | <groupId>junit</groupId> |
| 284 | <artifactId>junit</artifactId> |
| 285 | <version>3.8.1</version> |
| 286 | <scope>test</scope> |
| 287 | </dependency> |
| 288 | <dependency> |
| 289 | <groupId>easymock</groupId> |
| 290 | <artifactId>easymock</artifactId> |
| 291 | <version>1.2_Java1.3</version> |
| 292 | <scope>test</scope> |
| 293 | </dependency> |
| 294 | </dependencies> |
| 295 | <build> |
| 296 | <plugins> |
| 297 | <plugin> |
| 298 | <groupId>org.apache.maven.plugins</groupId> |
| 299 | <artifactId>maven-compiler-plugin</artifactId> |
| 300 | <configuration> |
| 301 | <target>1.4</target> |
| 302 | </configuration> |
| 303 | </plugin> |
| 304 | <plugin> |
| 305 | <groupId>org.apache.maven.plugins</groupId> |
| 306 | <artifactId>maven-surefire-plugin</artifactId> |
| 307 | </plugin> |
Stephane Frenot | ab67247 | 2006-08-29 13:29:31 +0000 | [diff] [blame] | 308 | <!-- plugin> |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 309 | <groupId>org.apache.maven.plugins</groupId> |
| 310 | <artifactId>maven-surefire-report-plugin</artifactId> |
Stephane Frenot | ab67247 | 2006-08-29 13:29:31 +0000 | [diff] [blame] | 311 | </plugin --> |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 312 | </plugins> |
| 313 | </build> |
| 314 | <reporting> |
| 315 | <plugins> |
| 316 | <plugin> |
| 317 | <groupId>org.apache.maven.plugins</groupId> |
Marcel Offermans | 0ed8729 | 2006-08-17 19:10:30 +0000 | [diff] [blame] | 318 | <artifactId>maven-site-plugin</artifactId> |
| 319 | <configuration> |
Marcel Offermans | 5dcb02c | 2006-08-17 20:58:34 +0000 | [diff] [blame] | 320 | <templateDirectory>${user.dir}/src/site/</templateDirectory> |
Marcel Offermans | 0ed8729 | 2006-08-17 19:10:30 +0000 | [diff] [blame] | 321 | <template>maven-site.vm</template> |
| 322 | </configuration> |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 323 | </plugin> |
Marcel Offermans | 0ed8729 | 2006-08-17 19:10:30 +0000 | [diff] [blame] | 324 | <plugin> |
| 325 | <groupId>org.apache.maven.plugins</groupId> |
| 326 | <artifactId>maven-surefire-plugin</artifactId> |
| 327 | </plugin> |
| 328 | <plugin> |
| 329 | <groupId>org.codehaus.mojo</groupId> |
| 330 | <artifactId>jxr-maven-plugin</artifactId> |
| 331 | </plugin> |
| 332 | <plugin> |
| 333 | <groupId>org.apache.maven.plugins</groupId> |
| 334 | <artifactId>maven-project-info-reports-plugin</artifactId> |
| 335 | <reportSets> |
| 336 | <reportSet> |
| 337 | <reports> |
| 338 | <report>index</report> |
| 339 | <report>dependencies</report> |
| 340 | <report>project-team</report> |
| 341 | <report>mailing-list</report> |
| 342 | <report>issue-tracking</report> |
| 343 | <report>license</report> |
| 344 | <report>scm</report> |
| 345 | </reports> |
| 346 | </reportSet> |
| 347 | </reportSets> |
| 348 | </plugin> |
| 349 | <!--plugin> |
| 350 | <groupId>org.apache.maven.plugins</groupId> |
| 351 | <artifactId>maven-javadoc-plugin</artifactId> |
| 352 | <configuration> |
| 353 | <aggregate>true</aggregate> |
| 354 | </configuration> |
| 355 | </plugin--> |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 356 | </plugins> |
| 357 | </reporting> |
| 358 | </project> |