<parent>
<groupId>org.opendaylight.controller</groupId>
<artifactId>config-parent</artifactId>
- <version>0.4.0-SNAPSHOT</version>
+ <version>0.4.1-Beryllium-SR1</version>
<relativePath />
</parent>
<groupId>org.opendaylight.nemo</groupId>
<artifactId>openflow-renderer</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.0.1-Beryllium-SR1</version>
<packaging>bundle</packaging>
<name>${project.artifactId}</name>
<properties>
+ <liblldp.version>0.10.1-Beryllium-SR1</liblldp.version>
+ <openflowplugin.version>0.2.1-Beryllium-SR1</openflowplugin.version>
<jacoco.version>0.7.2.201409121644</jacoco.version>
+ <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
+ <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
</properties>
<dependencies>
+ <dependency>
+ <groupId>org.opendaylight.mdsal.model</groupId>
+ <artifactId>yang-ext</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.controller.model</groupId>
+ <artifactId>model-topology</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.controller</groupId>
+ <artifactId>liblldp</artifactId>
+ <version>${liblldp.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-net</groupId>
+ <artifactId>commons-net</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.openflowplugin</groupId>
+ <artifactId>openflowplugin-extension-nicira</artifactId>
+ <version>${openflowplugin.version}</version>
+ </dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>nemo-api</artifactId>
<artifactId>nemo-impl</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-annotations</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.jettison</groupId>
+ <artifactId>jettison</artifactId>
+ </dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
+ <scope>test</scope>
</dependency>
<dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-simple</artifactId>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.codehaus.jettison</groupId>
- <artifactId>jettison</artifactId>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-simple</artifactId>
+ <scope>test</scope>
</dependency>
</dependencies>
</plugins>
</pluginManagement>
<plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Export-Package>
+ org.codehaus.jackson,
+ org.codehaus.jackson.*,
+ org.joda.time.*
+ </Export-Package>
+ <Import-Package>*</Import-Package>
+ </instructions>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.opendaylight.yangtools</groupId>
<artifactId>yang-maven-plugin</artifactId>
</executions>
<dependencies>
<dependency>
- <groupId>org.opendaylight.yangtools</groupId>
+ <groupId>org.opendaylight.mdsal</groupId>
<artifactId>maven-sal-api-gen-plugin</artifactId>
<version>${yangtools.version}</version>
<type>jar</type>
<type>xml</type>
<classifier>config</classifier>
</artifact>
+ <artifact>
+ <file>${project.build.directory}/classes/etc/opendaylight/karaf/node-resource.json</file>
+ <type>json</type>
+ <classifier>node-resource</classifier>
+ </artifact>
+ <artifact>
+ <file>${project.build.directory}/classes/etc/opendaylight/karaf/host-resource.json</file>
+ <type>json</type>
+ <classifier>host-resource</classifier>
+ </artifact>
+ <artifact>
+ <file>${project.build.directory}/classes/etc/opendaylight/karaf/link-resource.json</file>
+ <type>json</type>
+ <classifier>link-resource</classifier>
+ </artifact>
+ <artifact>
+ <file>${project.build.directory}/classes/etc/opendaylight/karaf/external-resource.json</file>
+ <type>json</type>
+ <classifier>external-resource</classifier>
+ </artifact>
</artifacts>
</configuration>
</execution>
</configuration>
<executions>
<execution>
- <id>pre-test</id>
+ <id>pre-unit-test</id>
<goals>
<goal>prepare-agent</goal>
</goals>
+ <configuration>
+ <destFile>${sonar.jacoco.reportPath}</destFile>
+ </configuration>
</execution>
<execution>
- <id>post-test</id>
+ <id>post-unit-test</id>
<goals>
<goal>report</goal>
</goals>
- <phase>test</phase>
+ <configuration>
+ <dataFile>${sonar.jacoco.reportPath}</dataFile>
+ </configuration>
</execution>
</executions>
</plugin>