| author | Christian Schneider | 2012-01-05 05:12:05 (EST) |
|---|---|---|
| committer | Benjamin Bentmann | 2012-01-07 11:57:13 (EST) |
| commit | 5b3b1788ee5c66f7b962c362e717e34f8d2e6de1 (patch) (side-by-side diff) | |
| tree | 7661538baee6dd53fcee7a2b4927ca12c6dfd21d | |
| parent | a10252f528d404ffcaa22618469d7735a9e22f94 (diff) | |
| download | aether-core-5b3b1788ee5c66f7b962c362e717e34f8d2e6de1.zip aether-core-5b3b1788ee5c66f7b962c362e717e34f8d2e6de1.tar.gz aether-core-5b3b1788ee5c66f7b962c362e717e34f8d2e6de1.tar.bz2 | |
Bug 367751 - Creating bundles for aether
| -rw-r--r-- | aether-api/pom.xml | 5 | ||||
| -rw-r--r-- | aether-connector-asynchttpclient/pom.xml | 10 | ||||
| -rw-r--r-- | aether-connector-file/pom.xml | 12 | ||||
| -rw-r--r-- | aether-connector-wagon/pom.xml | 15 | ||||
| -rw-r--r-- | aether-impl/pom.xml | 22 | ||||
| -rw-r--r-- | aether-spi/pom.xml | 5 | ||||
| -rw-r--r-- | aether-test-util/pom.xml | 5 | ||||
| -rw-r--r-- | aether-util/pom.xml | 5 | ||||
| -rw-r--r-- | pom.xml | 6 |
9 files changed, 81 insertions, 4 deletions
diff --git a/aether-api/pom.xml b/aether-api/pom.xml index 1b391e8..68232b5 100644 --- a/aether-api/pom.xml +++ b/aether-api/pom.xml @@ -23,6 +23,7 @@ <artifactId>aether-api</artifactId> <name>Aether :: API</name> + <packaging>bundle</packaging> <description> The application programming interface for the repository system. </description> @@ -45,6 +46,10 @@ <groupId>org.codehaus.mojo</groupId> <artifactId>clirr-maven-plugin</artifactId> </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + </plugin> </plugins> </build> </project> diff --git a/aether-connector-asynchttpclient/pom.xml b/aether-connector-asynchttpclient/pom.xml index 4b13966..43cfd34 100644 --- a/aether-connector-asynchttpclient/pom.xml +++ b/aether-connector-asynchttpclient/pom.xml @@ -21,6 +21,7 @@ </parent> <artifactId>aether-connector-asynchttpclient</artifactId> + <packaging>bundle</packaging> <name>Aether :: Connector :: AsyncHttpClient</name> <description> @@ -99,6 +100,15 @@ <groupId>org.sonatype.plugins</groupId> <artifactId>sisu-maven-plugin</artifactId> </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <configuration> + <instructions> + <Bundle-SymbolicName>org.eclipse.aether.connector.asynchttpclient</Bundle-SymbolicName> + </instructions> + </configuration> + </plugin> </plugins> </build> </project> diff --git a/aether-connector-file/pom.xml b/aether-connector-file/pom.xml index 629bbd2..1fb19c2 100644 --- a/aether-connector-file/pom.xml +++ b/aether-connector-file/pom.xml @@ -21,6 +21,7 @@ </parent> <artifactId>aether-connector-file</artifactId> + <packaging>bundle</packaging> <name>Aether :: Connector :: File</name> <description> @@ -44,11 +45,13 @@ <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> <scope>provided</scope> + <optional>true</optional> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-annotations</artifactId> <scope>provided</scope> + <optional>true</optional> </dependency> <dependency> <groupId>org.sonatype.sisu</groupId> @@ -81,6 +84,15 @@ <groupId>org.sonatype.plugins</groupId> <artifactId>sisu-maven-plugin</artifactId> </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <configuration> + <instructions> + <Bundle-SymbolicName>org.eclipse.aether.connector.file</Bundle-SymbolicName> + </instructions> + </configuration> + </plugin> </plugins> </build> </project> diff --git a/aether-connector-wagon/pom.xml b/aether-connector-wagon/pom.xml index 32696a6..74a2b16 100644 --- a/aether-connector-wagon/pom.xml +++ b/aether-connector-wagon/pom.xml @@ -21,6 +21,7 @@ </parent> <artifactId>aether-connector-wagon</artifactId> + <packaging>bundle</packaging> <name>Aether :: Connector :: Wagon</name> <description> @@ -53,25 +54,30 @@ <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> <scope>provided</scope> + <optional>true</optional> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-annotations</artifactId> <scope>provided</scope> + <optional>true</optional> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-classworlds</artifactId> <version>2.4</version> + <optional>true</optional> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> <version>2.1</version> + <optional>true</optional> </dependency> <dependency> <groupId>org.sonatype.sisu</groupId> <artifactId>sisu-inject-plexus</artifactId> + <optional>true</optional> </dependency> <dependency> <groupId>org.eclipse.aether</groupId> @@ -112,6 +118,15 @@ <groupId>org.sonatype.plugins</groupId> <artifactId>sisu-maven-plugin</artifactId> </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <configuration> + <instructions> + <Bundle-SymbolicName>org.eclipse.aether.connector.wagon</Bundle-SymbolicName> + </instructions> + </configuration> + </plugin> </plugins> </build> </project> diff --git a/aether-impl/pom.xml b/aether-impl/pom.xml index d0c40d9..826a649 100644 --- a/aether-impl/pom.xml +++ b/aether-impl/pom.xml @@ -21,6 +21,7 @@ </parent> <artifactId>aether-impl</artifactId> + <packaging>bundle</packaging> <name>Aether :: Implementation</name> <description> @@ -43,17 +44,20 @@ <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> + <optional>true</optional> <scope>provided</scope> </dependency> <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-component-annotations</artifactId> + <groupId>org.sonatype.sisu</groupId> + <artifactId>sisu-inject-plexus</artifactId> + <optional>true</optional> <scope>provided</scope> </dependency> <dependency> - <groupId>org.sonatype.sisu</groupId> - <artifactId>sisu-inject-plexus</artifactId> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-component-annotations</artifactId> <scope>provided</scope> + <optional>true</optional> </dependency> <dependency> <groupId>org.slf4j</groupId> @@ -86,6 +90,16 @@ <groupId>org.sonatype.plugins</groupId> <artifactId>sisu-maven-plugin</artifactId> </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <configuration> + <instructions> + <Export-Package>org.eclipse.aether.impl</Export-Package> + <Private-Package>org.eclipse.aether.internal.impl</Private-Package> + </instructions> + </configuration> + </plugin> </plugins> </build> </project> diff --git a/aether-spi/pom.xml b/aether-spi/pom.xml index eb59243..058ca70 100644 --- a/aether-spi/pom.xml +++ b/aether-spi/pom.xml @@ -21,6 +21,7 @@ </parent> <artifactId>aether-spi</artifactId> + <packaging>bundle</packaging> <name>Aether :: SPI</name> <description> @@ -44,6 +45,10 @@ <groupId>org.codehaus.mojo</groupId> <artifactId>clirr-maven-plugin</artifactId> </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + </plugin> </plugins> </build> </project> diff --git a/aether-test-util/pom.xml b/aether-test-util/pom.xml index 834f9e4..6088b85 100644 --- a/aether-test-util/pom.xml +++ b/aether-test-util/pom.xml @@ -21,6 +21,7 @@ </parent> <artifactId>aether-test-util</artifactId> + <packaging>bundle</packaging> <name>Aether :: Test Utilities</name> <description> @@ -49,6 +50,10 @@ <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-maven-plugin</artifactId> </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + </plugin> </plugins> </build> </project> diff --git a/aether-util/pom.xml b/aether-util/pom.xml index 8e560d5..46f3faf 100644 --- a/aether-util/pom.xml +++ b/aether-util/pom.xml @@ -23,6 +23,7 @@ <artifactId>aether-util</artifactId> <name>Aether :: Utilities</name> + <packaging>bundle</packaging> <description> A collection of utility classes to ease usage of the repository system. </description> @@ -54,6 +55,10 @@ <groupId>org.codehaus.mojo</groupId> <artifactId>clirr-maven-plugin</artifactId> </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + </plugin> </plugins> </build> </project> @@ -289,6 +289,12 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <version>2.3.6</version> + <extensions>true</extensions> + </plugin> </plugins> </pluginManagement> <plugins> |

