Added:
/trunk/dependency-shot-osgi
/trunk/dependency-shot-osgi/pom.xml
/trunk/dependency-shot-osgi/src
/trunk/dependency-shot-osgi/src/main
/trunk/dependency-shot-osgi/src/main/resources
/trunk/dependency-shot-osgi/src/main/resources/META-INF
/trunk/dependency-shot-osgi/src/main/resources/META-INF/dependency-shot-osgi.bnd
=======================================
--- /dev/null
+++ /trunk/dependency-shot-osgi/pom.xml Thu Apr 7 09:14:38 2011
@@ -0,0 +1,111 @@
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>dependency-shot</artifactId>
+ <groupId>cx.ath.mancel01</groupId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <packaging>bundle</packaging>
+ <artifactId>dependency-shot-osgi</artifactId>
+ <name>Dependency-Shot (JSR-330) :: OSGi</name>
+ <url>http://code.google.com/p/dependency-shot/</url>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <configuration>
+ <encoding>${project.build.sourceEncoding}</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>2.1.0</version>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <id>osgi</id>
+ <phase>package</phase>
+ <goals>
+ <goal>bundle</goal>
+ </goals>
+ <configuration>
+ <unpackBundle>true</unpackBundle>
+ <excludeDependencies>
+ org.osgi.core,org.osgi.compendium
+ </excludeDependencies>
+ <instructions>
+
<_include>-target/classes/META-INF/${project.artifactId}.bnd</_include>
+ </instructions>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>javax.inject</groupId>
+ <artifactId>javax.inject</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>cx.ath.mancel01</groupId>
+ <artifactId>dependency-shot-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>cx.ath.mancel01</groupId>
+ <artifactId>dependency-shot-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>cx.ath.mancel01</groupId>
+ <artifactId>dependency-shot-aop</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>cx.ath.mancel01</groupId>
+ <artifactId>dependency-shot-lifecycle</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>cx.ath.mancel01</groupId>
+ <artifactId>dependency-shot-dynamic</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>cx.ath.mancel01</groupId>
+ <artifactId>dependency-shot-utils</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.core</artifactId>
+ <version>4.2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.compendium</artifactId>
+ <version>4.2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>javassist</groupId>
+ <artifactId>javassist</artifactId>
+ <version>3.8.0.GA</version>
+ </dependency>
+ </dependencies>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+ <licenses>
+ <license>
+ <name>Apache 2</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ <distribution>repo</distribution>
+ <comments>A business-friendly OSS license</comments>
+ </license>
+ </licenses>
+</project>
=======================================
--- /dev/null
+++
/trunk/dependency-shot-osgi/src/main/resources/META-INF/dependency-shot-osgi.bnd
Thu Apr 7 09:14:38 2011
@@ -0,0 +1,12 @@
+Embed-Dependency *; scope=compile; inline=true;
+
+-exportcontents javax.inject; \
+ javax.annotation; \
+ cx.ath.mancel01.dependencyshot.api; \
+ cx.ath.mancel01.dependencyshot.api.event; \
+ cx.ath.mancel01.dependencyshot.*; \
+ javassist.*;
+
+Import-Package javax.annotation;
+Bundle-Activator
cx.ath.mancel01.dependencyshot.dynamic.DependencyShotActivator
+DynamicImport-Package *