pom.xml changes for bundle packaging
Change-Id: I7d4c85b24f79ec526db0cb74bcdf7f0659746163
diff --git a/serializers/json/pom.xml b/serializers/json/pom.xml
index e512f8a..b73165a 100644
--- a/serializers/json/pom.xml
+++ b/serializers/json/pom.xml
@@ -27,7 +27,7 @@
</parent>
<artifactId>onos-yang-serializers-json</artifactId>
- <packaging>jar</packaging>
+ <packaging>bundle</packaging>
<dependencies>
<dependency>
@@ -65,23 +65,6 @@
<artifactId>onos-yang-serializers-utils</artifactId>
<version>1.12-SNAPSHOT</version>
</dependency>
- <!-- TODO: remove
- <dependency>
- <groupId>org.onosproject</groupId>
- <artifactId>onos-yang-compiler-api</artifactId>
- <version>1.12-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.onosproject</groupId>
- <artifactId>onos-yang-compiler-datamodel</artifactId>
- <version>1.12-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.onosproject</groupId>
- <artifactId>onos-yang-compiler-plugin-utils</artifactId>
- <version>1.12-SNAPSHOT</version>
- </dependency>
- -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
@@ -92,20 +75,10 @@
<build>
<plugins>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>3.0.2</version>
- <configuration>
- <skipIfEmpty>true</skipIfEmpty>
- </configuration>
- <executions>
- <execution>
- <id>default</id>
- <goals>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>3.2.0</version>
+ <extensions>true</extensions>
</plugin>
</plugins>
</build>