<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>atomix-storage</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.esotericsoftware</groupId>
- <artifactId>kryo</artifactId>
- <version>4.0.2</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.esotericsoftware</groupId>
- <artifactId>minlog</artifactId>
- <version>1.3.1</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.esotericsoftware</groupId>
- <artifactId>reflectasm</artifactId>
- <version>1.11.8</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm</artifactId>
- <version>5.2</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.objenesis</groupId>
- <artifactId>objenesis</artifactId>
- <version>2.6</version>
- <scope>provided</scope>
</dependency>
<dependency>
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
- <Import-Package>
- !COM.newmonics.*,
- !android.os,
- *
- </Import-Package>
- <Embed-Dependency>
- <!-- atomix.io is using an older Guava, and Kryo is using ancient objenesis,
- so let's embed it to prevent duplicates -->
- *;inline=true;artifactId=atomix-storage,
- *;inline=true;groupId=com.esotericsoftware,
- *;inline=true;groupId=org.objenesis,
- *;inline=true;groupId=org.ow2.asm,
- </Embed-Dependency>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
<scm>
<connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
<developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
<artifactId>atomix-storage</artifactId>
<name>Atomix Storage</name>
+ <packaging>bundle</packaging>
<properties>
<odlparent.checkstyle.skip>true</odlparent.checkstyle.skip>
<groupId>com.esotericsoftware</groupId>
<artifactId>kryo</artifactId>
<version>4.0.2</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.esotericsoftware</groupId>
+ <artifactId>minlog</artifactId>
+ <version>1.3.1</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.esotericsoftware</groupId>
+ <artifactId>reflectasm</artifactId>
+ <version>1.11.8</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.ow2.asm</groupId>
+ <artifactId>asm</artifactId>
+ <version>5.2</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.objenesis</groupId>
+ <artifactId>objenesis</artifactId>
+ <version>2.6</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<instructions>
<Export-Package>
io.atomix.storage.*,
- io.atomix.utils.*
+ io.atomix.utils.*,
+ com.esotericsoftware.kryo.*;version=4.0.2
</Export-Package>
<Import-Package>
- sun.nio.ch;resolution:=optional,sun.misc;resolution:=optional,*
+ sun.nio.ch;resolution:=optional,
+ sun.misc;resolution:=optional,
+ !COM.newmonics.*,
+ !android.os,
+ *
</Import-Package>
+
+ <!-- Kryo is using ancient objenesis, so let's embed it to prevent duplicates -->
+ <Embed-Dependency>
+ *;inline=true;groupId=com.esotericsoftware,
+ *;inline=true;groupId=org.objenesis,
+ *;inline=true;groupId=org.ow2.asm,
+ </Embed-Dependency>
</instructions>
</configuration>
</plugin>