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> |
| 21 | <groupId>org.apache.felix</groupId> |
| 22 | <artifactId>felix</artifactId> |
| 23 | <packaging>pom</packaging> |
Marcel Offermans | 0ed8729 | 2006-08-17 19:10:30 +0000 | [diff] [blame] | 24 | <name>Apache Felix</name> |
Richard S. Hall | f2be196 | 2006-12-22 19:46:42 +0000 | [diff] [blame] | 25 | <version>0.9.0-incubator-SNAPSHOT</version> |
Marcel Offermans | 0ed8729 | 2006-08-17 19:10:30 +0000 | [diff] [blame] | 26 | <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. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 32 | </issueManagement> |
Marcel Offermans | 0ed8729 | 2006-08-17 19:10:30 +0000 | [diff] [blame] | 33 | |
| 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. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 58 | |
Marcel Offermans | 0ed8729 | 2006-08-17 19:10:30 +0000 | [diff] [blame] | 59 | <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 Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 64 | |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 65 | <!-- |
| 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 Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 78 | |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 79 | As a work around, this pom creates different profiles for building the |
| 80 | different types of felix modules. |
Stephane Frenot | ab67247 | 2006-08-29 13:29:31 +0000 | [diff] [blame] | 81 | |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 82 | Usage: |
| 83 | mvn -Dpackaging=<type> clean install |
| 84 | --> |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 85 | |
Stephane Frenot | ab67247 | 2006-08-29 13:29:31 +0000 | [diff] [blame] | 86 | <profiles> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 87 | |
Stephane Frenot | ab67247 | 2006-08-29 13:29:31 +0000 | [diff] [blame] | 88 | <profile> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 89 | <id>packaging-ipojo-bundle</id> |
Stephane Frenot | ab67247 | 2006-08-29 13:29:31 +0000 | [diff] [blame] | 90 | <activation> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 91 | <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 Frenot | ab67247 | 2006-08-29 13:29:31 +0000 | [diff] [blame] | 173 | </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 Frenot | 0f068b6 | 2006-08-30 11:12:48 +0000 | [diff] [blame] | 185 | <module>mosgi.managedelements.bundlesprobes</module> |
| 186 | <module>mosgi.managedelements.bundlesprobes.tab</module> |
Stephane Frenot | 593bac3 | 2006-08-30 12:42:49 +0000 | [diff] [blame] | 187 | <module>mosgi.managedelements.obrprobe</module> |
| 188 | <module>mosgi.managedelements.obrprobe.tab</module> |
Stephane Frenot | 8ed309a | 2006-08-31 14:04:13 +0000 | [diff] [blame] | 189 | <module>mosgi.managedelements.memoryprobe</module> |
Stephane Frenot | ab67247 | 2006-08-29 13:29:31 +0000 | [diff] [blame] | 190 | </modules> |
| 191 | </profile> |
Stephane Frenot | ab67247 | 2006-08-29 13:29:31 +0000 | [diff] [blame] | 192 | </profiles> |
| 193 | |
Stephane Frenot | e8c7a98 | 2006-09-28 15:46:53 +0000 | [diff] [blame] | 194 | <!-- 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. Hall | f2be196 | 2006-12-22 19:46:42 +0000 | [diff] [blame] | 200 | <version>0.9.0-incubator-SNAPSHOT</version> |
Stephane Frenot | e8c7a98 | 2006-09-28 15:46:53 +0000 | [diff] [blame] | 201 | </dependency> |
| 202 | <dependency> |
| 203 | <groupId>org.apache.felix</groupId> |
| 204 | <artifactId>org.osgi.compendium</artifactId> |
Richard S. Hall | f2be196 | 2006-12-22 19:46:42 +0000 | [diff] [blame] | 205 | <version>0.9.0-incubator-SNAPSHOT</version> |
Stephane Frenot | e8c7a98 | 2006-09-28 15:46:53 +0000 | [diff] [blame] | 206 | </dependency> |
| 207 | <dependency> |
| 208 | <groupId>org.apache.felix</groupId> |
| 209 | <artifactId>org.apache.felix.framework</artifactId> |
Richard S. Hall | f2be196 | 2006-12-22 19:46:42 +0000 | [diff] [blame] | 210 | <version>0.9.0-incubator-SNAPSHOT</version> |
Stephane Frenot | e8c7a98 | 2006-09-28 15:46:53 +0000 | [diff] [blame] | 211 | </dependency> |
| 212 | <dependency> |
| 213 | <groupId>org.apache.felix</groupId> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 214 | <artifactId>org.apache.felix.bundlerepository</artifactId> |
| 215 | <version>0.9.0-incubator-SNAPSHOT</version> |
Stephane Frenot | e8c7a98 | 2006-09-28 15:46:53 +0000 | [diff] [blame] | 216 | </dependency> |
| 217 | <dependency> |
| 218 | <groupId>org.apache.felix</groupId> |
| 219 | <artifactId>org.apache.felix.mosgi.jmx.registry</artifactId> |
Richard S. Hall | f2be196 | 2006-12-22 19:46:42 +0000 | [diff] [blame] | 220 | <version>0.9.0-incubator-SNAPSHOT</version> |
Stephane Frenot | e8c7a98 | 2006-09-28 15:46:53 +0000 | [diff] [blame] | 221 | </dependency> |
| 222 | <dependency> |
| 223 | <groupId>org.apache.felix</groupId> |
| 224 | <artifactId>org.apache.felix.mosgi.jmx.agent</artifactId> |
Richard S. Hall | f2be196 | 2006-12-22 19:46:42 +0000 | [diff] [blame] | 225 | <version>0.9.0-incubator-SNAPSHOT</version> |
Stephane Frenot | e8c7a98 | 2006-09-28 15:46:53 +0000 | [diff] [blame] | 226 | </dependency> |
| 227 | <dependency> |
| 228 | <groupId>org.apache.felix</groupId> |
| 229 | <artifactId>org.apache.felix.mosgi.console.ifc</artifactId> |
Richard S. Hall | f2be196 | 2006-12-22 19:46:42 +0000 | [diff] [blame] | 230 | <version>0.9.0-incubator-SNAPSHOT</version> |
Stephane Frenot | e8c7a98 | 2006-09-28 15:46:53 +0000 | [diff] [blame] | 231 | </dependency> |
| 232 | </dependencies> |
| 233 | </dependencyManagement> |
| 234 | |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 235 | <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. Hall | f2be196 | 2006-12-22 19:46:42 +0000 | [diff] [blame] | 240 | <url>http://people.apache.org/repo/m2-snapshot-repository</url> |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 241 | </repository> |
Richard S. Hall | 1ca96a9 | 2007-02-12 15:46:10 +0000 | [diff] [blame] | 242 | |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 243 | <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 Offermans | 0ed8729 | 2006-08-17 19:10:30 +0000 | [diff] [blame] | 251 | <site> |
| 252 | <id>felix website</id> |
Marcel Offermans | f673703 | 2006-08-17 19:49:13 +0000 | [diff] [blame] | 253 | <url>file:///${user.dir}/target/site-deployed/</url> |
Marcel Offermans | 0ed8729 | 2006-08-17 19:10:30 +0000 | [diff] [blame] | 254 | </site> |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 255 | <snapshotRepository> |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 256 | <id>apache.snapshots</id> |
Richard S. Hall | e0341b2 | 2006-10-20 19:15:10 +0000 | [diff] [blame] | 257 | <name>Apache Snapshot Repository</name> |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 258 | <url> |
Richard S. Hall | e0341b2 | 2006-10-20 19:15:10 +0000 | [diff] [blame] | 259 | scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 260 | </url> |
| 261 | </snapshotRepository> |
| 262 | <repository> |
| 263 | <name>ASF Mirrored M2 Distributions</name> |
| 264 | <id>apache.distributions</id> |
| 265 | <url> |
Richard S. Hall | f2be196 | 2006-12-22 19:46:42 +0000 | [diff] [blame] | 266 | scp://people.apache.org/www/people.apache.org/repo/m2-incubating-repository |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 267 | </url> |
| 268 | </repository> |
| 269 | </distributionManagement> |
| 270 | |
| 271 | <pluginRepositories> |
| 272 | <pluginRepository> |
| 273 | <id>apache.snapshots</id> |
| 274 | <name>snapshot plugins</name> |
| 275 | <url> |
Richard S. Hall | f2be196 | 2006-12-22 19:46:42 +0000 | [diff] [blame] | 276 | http://people.apache.org/repo/m2-snapshot-repository |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 277 | </url> |
Richard S. Hall | a897e0e | 2007-02-13 05:55:13 +0000 | [diff] [blame] | 278 | <releases> |
| 279 | <enabled>false</enabled> |
| 280 | </releases> |
| 281 | <snapshots> |
| 282 | <enabled>true</enabled> |
| 283 | </snapshots> |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 284 | </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 Frenot | ab67247 | 2006-08-29 13:29:31 +0000 | [diff] [blame] | 315 | <!-- plugin> |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 316 | <groupId>org.apache.maven.plugins</groupId> |
| 317 | <artifactId>maven-surefire-report-plugin</artifactId> |
Stephane Frenot | ab67247 | 2006-08-29 13:29:31 +0000 | [diff] [blame] | 318 | </plugin --> |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 319 | </plugins> |
| 320 | </build> |
| 321 | <reporting> |
| 322 | <plugins> |
| 323 | <plugin> |
| 324 | <groupId>org.apache.maven.plugins</groupId> |
Marcel Offermans | 0ed8729 | 2006-08-17 19:10:30 +0000 | [diff] [blame] | 325 | <artifactId>maven-site-plugin</artifactId> |
| 326 | <configuration> |
Marcel Offermans | 5dcb02c | 2006-08-17 20:58:34 +0000 | [diff] [blame] | 327 | <templateDirectory>${user.dir}/src/site/</templateDirectory> |
Marcel Offermans | 0ed8729 | 2006-08-17 19:10:30 +0000 | [diff] [blame] | 328 | <template>maven-site.vm</template> |
| 329 | </configuration> |
Karl Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 330 | </plugin> |
Marcel Offermans | 0ed8729 | 2006-08-17 19:10:30 +0000 | [diff] [blame] | 331 | <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 Pauls | d69e8af | 2006-08-12 09:51:20 +0000 | [diff] [blame] | 363 | </plugins> |
| 364 | </reporting> |
| 365 | </project> |