<?xml version="1.0" encoding="UTF-8"?>
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
- <prerequisites>
- <maven>3.0</maven>
- </prerequisites>
<parent>
<groupId>org.opendaylight.controller</groupId>
<artifactId>commons.opendaylight</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.4.2-SNAPSHOT</version>
</parent>
<groupId>org.opendaylight.ovsdb</groupId>
- <artifactId>commons.ovsdb</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <artifactId>commons</artifactId>
+ <version>1.1.0-SNAPSHOT</version>
<packaging>pom</packaging>
- <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
- <scm>
- <connection>scm:git:https://git.opendaylight.org/gerrit/p/ovsdb.git</connection>
- </scm>
+ <prerequisites>
+ <maven>3.0</maven>
+ </prerequisites>
<properties>
+ <java.version.source>1.7</java.version.source>
+ <java.version.target>1.7</java.version.target>
<nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <!-- Use Jacoco 6.4 for the seperate integration-test reporting -->
+ <jacoco.version>0.6.4.201312101107</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>
+ <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
</properties>
- <modules>
- <module>../../ovsdb/</module>
- <module>../../northbound/ovsdb</module>
- <module>../../neutron</module>
- <module>../../distribution/opendaylight</module>
- </modules>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.opendaylight.ovsdb</groupId>
+ <artifactId>ovsdb</artifactId>
+ <version>0.5.1-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>${java.version.source}</source>
+ <target>${java.version.target}</target>
+ <testSource>${java.version.source}</testSource>
+ <testTarget>${java.version.target}</testTarget>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>pre-unit-test</id>
+ <goals>
+ <goal>prepare-agent</goal>
+ </goals>
+ <configuration>
+ <destFile>${sonar.jacoco.reportPath}</destFile>
+ <propertyName>surefireArgLine</propertyName>
+ </configuration>
+ </execution>
+ <execution>
+ <id>pre-integration-test</id>
+ <goals>
+ <goal>prepare-agent-integration</goal>
+ </goals>
+ <configuration>
+ <destFile>${sonar.jacoco.itReportPath}</destFile>
+ <propertyName>failsafeArgLine</propertyName>
+ </configuration>
+ </execution>
+ <execution>
+ <id>post-unit-test</id>
+ <goals>
+ <goal>report</goal>
+ </goals>
+ <configuration>
+ <dataFile>${sonar.jacoco.reportPath}</dataFile>
+ </configuration>
+ </execution>
+ <execution>
+ <id>post-integration-test</id>
+ <goals>
+ <goal>report-integration</goal>
+ </goals>
+ <configuration>
+ <dataFile>${sonar.jacoco.itReportPath}</dataFile>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <!-- Use the Jacoco Argline -->
+ <argLine>${surefireArgLine}</argLine>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <configuration>
+ <!-- Use the Jacoco Argline -->
+ <argLine>${failsafeArgLine}</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
+ <scm>
+ <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
+ <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
+ <tag>HEAD</tag>
+ <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
+ </scm>
+
<repositories>
- <!-- jsonrpc4j mirror -->
+ <!-- Opendaylight public group -->
<repository>
- <id>jsonrpc4j-webdav-maven-repo</id>
- <name>jsonrpc4j maven repository</name>
- <url>http://nexus.opendaylight.org/content/repositories/jsonrpc4j-webdav-maven-repo/</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <id>opendaylight-public</id>
+ <name>opendaylight-public</name>
+ <url>${nexusproxy}/groups/public/</url>
</repository>
<!-- OpenDayLight Released artifact -->
<repository>
<pluginRepositories>
<pluginRepository>
- <id>central2</id>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <id>opendaylight-public</id>
+ <name>opendaylight-public</name>
+ <url>http://nexus.opendaylight.org/content/groups/public/</url>
+ </pluginRepository>
+ <pluginRepository>
+ <id>opendaylight-release</id>
<name>central2</name>
- <url>http://nexus.opendaylight.org/content/repositories/central2/</url>
+ <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
</pluginRepository>
<pluginRepository>
<id>opendaylight-snapshot</id>