<parent>
<groupId>org.opendaylight.controller</groupId>
<artifactId>config-parent</artifactId>
- <version>0.4.0-SNAPSHOT</version>
+ <version>0.6.3-SNAPSHOT</version>
<relativePath />
</parent>
<groupId>org.opendaylight.nemo</groupId>
<artifactId>openflow-renderer</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.2.3-SNAPSHOT</version>
<packaging>bundle</packaging>
- <name>${project.artifactId}</name>
+ <!-- <name> formatting is used by autorelease to parse and notify projects on
+ build failure. Please do not modify this unless you have a good reason. -->
+ <name>ODL :: nemo :: ${project.artifactId}</name>
<properties>
- <jacoco.version>0.7.2.201409121644</jacoco.version>
+ <liblldp.version>0.12.3-SNAPSHOT</liblldp.version>
+ <openflowplugin.version>0.4.3-SNAPSHOT</openflowplugin.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-core</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>
<build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <version>${jacoco.version}</version>
- </plugin>
- </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>
<codeGenerators>
<generator>
<codeGeneratorClass>
- org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
+ org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl
</codeGeneratorClass>
<outputBaseDir>
${salGeneratorPath}
<dependency>
<groupId>org.opendaylight.mdsal</groupId>
<artifactId>maven-sal-api-gen-plugin</artifactId>
- <version>${yangtools.version}</version>
+ <version>0.10.3-SNAPSHOT</version>
<type>jar</type>
</dependency>
</dependencies>
<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>
<url>https://wiki.opendaylight.org/view/NEMO:Main</url>
<tag>HEAD</tag>
</scm>
-</project>
\ No newline at end of file
+</project>