<modelVersion>4.0.0</modelVersion>
<artifactId>bgp-testtool</artifactId>
<description>BGP Interop Testing Tool</description>
- <packaging>bundle</packaging>
+ <packaging>jar</packaging>
<name>${project.artifactId}</name>
<prerequisites>
<maven>3.0.4</maven>
<build>
<plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>${maven.bundle.version}</version>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
- <Export-Package>
- org.opendaylight.protocol.bgp.testtool
- </Export-Package>
- </instructions>
- </configuration>
- </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>${maven.jar.version}</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <mainClass>org.opendaylight.protocol.bgp.testtool.Main</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<modelVersion>4.0.0</modelVersion>
<artifactId>pcep-testtool</artifactId>
<description>PCEP Interop Testing Tool</description>
- <packaging>bundle</packaging>
+ <packaging>jar</packaging>
<name>${project.artifactId}</name>
<prerequisites>
<maven>3.0.4</maven>
<build>
<plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>${maven.bundle.version}</version>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
- <Export-Package>
- org.opendaylight.protocol.pcep.testtool
- </Export-Package>
- </instructions>
- </configuration>
- </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>${maven.jar.version}</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <mainClass>org.opendaylight.protocol.pcep.testtool.Main</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<logback.version>1.0.7</logback.version>
<maven.bundle.version>2.4.0</maven.bundle.version>
<maven.compiler.version>3.1</maven.compiler.version>
+ <maven.jar.version>2.4</maven.jar.version>
<maven.shade.version>2.1</maven.shade.version>
<mockito.version>1.9.5</mockito.version>
<netty.version>4.0.9.Final</netty.version>