Marcel Offermans | a962bc9 | 2009-11-21 17:59:33 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | Licensed to the Apache Software Foundation (ASF) under one or more |
| 4 | contributor license agreements. See the NOTICE file distributed with |
| 5 | this work for additional information regarding copyright ownership. |
| 6 | The ASF licenses this file to you under the Apache License, Version |
| 7 | 2.0 (the "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 Unless required by |
| 11 | applicable law or agreed to in writing, software distributed under |
| 12 | the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES |
| 13 | OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 14 | License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | --> |
| 17 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Marcel Offermans | e7951e3 | 2010-08-18 13:41:45 +0000 | [diff] [blame] | 18 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 19 | <modelVersion>4.0.0</modelVersion> |
| 20 | |
| 21 | <parent> |
Marcel Offermans | 227dd71 | 2011-04-19 07:14:22 +0000 | [diff] [blame] | 22 | <groupId>org.apache.felix</groupId> |
| 23 | <artifactId>felix-parent</artifactId> |
| 24 | <version>1.2.0</version> |
| 25 | <relativePath>../../pom/pom.xml</relativePath> |
Marcel Offermans | e7951e3 | 2010-08-18 13:41:45 +0000 | [diff] [blame] | 26 | </parent> |
| 27 | |
Marcel Offermans | 227dd71 | 2011-04-19 07:14:22 +0000 | [diff] [blame] | 28 | <properties> |
| 29 | <felix.dependencymanager.version>3.0.0-SNAPSHOT</felix.dependencymanager.version> |
| 30 | <osgi.version>4.2.0</osgi.version> |
| 31 | <pax.exam.version>1.2.0</pax.exam.version> |
| 32 | </properties> |
| 33 | |
Marcel Offermans | e7951e3 | 2010-08-18 13:41:45 +0000 | [diff] [blame] | 34 | <name>Apache Felix Dependency Manager</name> |
| 35 | <artifactId>org.apache.felix.dependencymanager</artifactId> |
Marcel Offermans | 227dd71 | 2011-04-19 07:14:22 +0000 | [diff] [blame] | 36 | <version>${felix.dependencymanager.version}</version> |
Marcel Offermans | e7951e3 | 2010-08-18 13:41:45 +0000 | [diff] [blame] | 37 | <packaging>bundle</packaging> |
| 38 | |
| 39 | <dependencies> |
| 40 | <dependency> |
| 41 | <groupId>org.osgi</groupId> |
| 42 | <artifactId>org.osgi.core</artifactId> |
Marcel Offermans | 227dd71 | 2011-04-19 07:14:22 +0000 | [diff] [blame] | 43 | <version>${osgi.version}</version> |
Marcel Offermans | e7951e3 | 2010-08-18 13:41:45 +0000 | [diff] [blame] | 44 | </dependency> |
| 45 | <dependency> |
| 46 | <groupId>org.osgi</groupId> |
| 47 | <artifactId>org.osgi.compendium</artifactId> |
Marcel Offermans | 227dd71 | 2011-04-19 07:14:22 +0000 | [diff] [blame] | 48 | <version>${osgi.version}</version> |
Marcel Offermans | e7951e3 | 2010-08-18 13:41:45 +0000 | [diff] [blame] | 49 | </dependency> |
Marcel Offermans | 227dd71 | 2011-04-19 07:14:22 +0000 | [diff] [blame] | 50 | |
| 51 | <!-- please remove me again --> |
| 52 | <dependency> |
| 53 | <groupId>org.eclipse.equinox</groupId> |
| 54 | <artifactId>osgi</artifactId> |
| 55 | <version>3.1.1</version> |
| 56 | <scope>provided</scope> |
| 57 | </dependency> |
| 58 | |
Marcel Offermans | e7951e3 | 2010-08-18 13:41:45 +0000 | [diff] [blame] | 59 | </dependencies> |
| 60 | |
| 61 | <build> |
Marcel Offermans | 227dd71 | 2011-04-19 07:14:22 +0000 | [diff] [blame] | 62 | <pluginManagement> |
| 63 | <plugins> |
| 64 | <plugin> |
| 65 | <groupId>org.apache.felix</groupId> |
| 66 | <artifactId>maven-bundle-plugin</artifactId> |
| 67 | <version>1.4.0</version> |
| 68 | <extensions>true</extensions> |
| 69 | </plugin> |
| 70 | </plugins> |
| 71 | </pluginManagement> |
| 72 | |
Marcel Offermans | e7951e3 | 2010-08-18 13:41:45 +0000 | [diff] [blame] | 73 | <plugins> |
Marcel Offermans | 227dd71 | 2011-04-19 07:14:22 +0000 | [diff] [blame] | 74 | <!-- by default the dependency manager will run on any OSGi execution environment --> |
| 75 | <plugin> |
| 76 | <groupId>org.apache.maven.plugins</groupId> |
| 77 | <artifactId>maven-compiler-plugin</artifactId> |
| 78 | <configuration> |
| 79 | <target>1.3</target> |
| 80 | </configuration> |
| 81 | </plugin> |
Marcel Offermans | e7951e3 | 2010-08-18 13:41:45 +0000 | [diff] [blame] | 82 | <plugin> |
| 83 | <groupId>org.apache.felix</groupId> |
| 84 | <artifactId>maven-bundle-plugin</artifactId> |
| 85 | <configuration> |
| 86 | <instructions> |
| 87 | <Bundle-SymbolicName>org.apache.felix.dependencymanager</Bundle-SymbolicName> |
| 88 | <Bundle-Name>Apache Felix Dependency Manager</Bundle-Name> |
| 89 | <Bundle-Description>A bundle that provides a run-time service dependency manager.</Bundle-Description> |
| 90 | <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor> |
Marcel Offermans | faaed47 | 2010-09-08 10:07:32 +0000 | [diff] [blame] | 91 | <Export-Package>org.apache.felix.dm;version="3.0.0",org.apache.felix.dm.tracker;version="3.0.0"</Export-Package> |
Marcel Offermans | e7951e3 | 2010-08-18 13:41:45 +0000 | [diff] [blame] | 92 | <Import-Package>!org.apache.felix.dm,*</Import-Package> |
Marcel Offermans | 227dd71 | 2011-04-19 07:14:22 +0000 | [diff] [blame] | 93 | <Private-Package>org.apache.felix.dm.impl, org.apache.felix.dm.impl.*, org.apache.felix.dm.index</Private-Package> |
Marcel Offermans | e7951e3 | 2010-08-18 13:41:45 +0000 | [diff] [blame] | 94 | <!-- Uncomment this line to include source code in the bundle. |
| 95 | <Include-Resource>src/main/java</Include-Resource> |
Marcel Offermans | 09e14aa | 2010-11-25 13:36:23 +0000 | [diff] [blame] | 96 | --> |
Marcel Offermans | e7951e3 | 2010-08-18 13:41:45 +0000 | [diff] [blame] | 97 | </instructions> |
| 98 | </configuration> |
| 99 | </plugin> |
| 100 | </plugins> |
| 101 | </build> |
| 102 | |
Marcel Offermans | a962bc9 | 2009-11-21 17:59:33 +0000 | [diff] [blame] | 103 | </project> |