Use JvmGlobalLocks in vpnmanager
[netvirt.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index e42dc8ac583e3a4e5c4dfa9c7f849f34fe559b08..01667c0da17096d2f925ab0d53d80a7a98786f91 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -6,20 +6,19 @@ This program and the accompanying materials are made available under the
 terms of the Eclipse Public License v1.0 which accompanies this distribution,
 and is available at http://www.eclipse.org/legal/epl-v10.html
 -->
-<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">
+<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">
 
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>odlparent-lite</artifactId>
-        <version>3.0.2</version>
+        <version>5.0.0</version>
         <relativePath/>
     </parent>
 
     <groupId>org.opendaylight.netvirt</groupId>
     <artifactId>netvirt-aggregator</artifactId>
-    <version>0.7.0-SNAPSHOT</version>
-    <name>ODL :: netvirt :: ${project.artifactId}</name>
+    <version>0.9.0-SNAPSHOT</version>
+    <name>netvirt</name> <!-- Used by Sonar to set project name -->
     <packaging>pom</packaging>
     <modelVersion>4.0.0</modelVersion>
 
@@ -52,7 +51,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         <module>artifacts</module>
         <module>bgpmanager</module>
         <module>cache</module>
-        <module>cloud-servicechain</module>
         <module>coe</module>
         <module>commons</module>
         <module>dhcpservice</module>
@@ -66,7 +64,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         <module>neutronvpn</module>
         <module>qosservice</module>
         <module>statemanager</module>
-        <module>statistics</module>
         <module>vpnmanager</module>
     </modules>
 
@@ -74,7 +71,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         <profile>
             <id>sfc</id>
             <activation>
-                <activeByDefault>false</activeByDefault>
+                <activeByDefault>true</activeByDefault>
             </activation>
             <modules>
                 <module>sfc</module>
@@ -84,6 +81,42 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
             <!-- When enabled, this empty profile disables the “sfc” profile above -->
             <id>no-sfc</id>
         </profile>
+        <profile>
+            <id>sonar-jacoco-aggregate</id>
+            <activation>
+                <property>
+                    <name>odl.jacoco.aggregateFile</name>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.jacoco</groupId>
+                        <artifactId>jacoco-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>merge</id>
+                                <goals>
+                                    <goal>merge</goal>
+                                </goals>
+                                <phase>generate-resources</phase>
+                                <configuration>
+                                    <destFile>${odl.jacoco.aggregateFile}</destFile>
+                                    <fileSets>
+                                        <fileSet>
+                                            <directory>${project.basedir}</directory>
+                                            <includes>
+                                                <include>**/target/code-coverage/*.exec</include>
+                                            </includes>
+                                        </fileSet>
+                                    </fileSets>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
 
     <!-- DO NOT install or deploy the repo root pom as it's only needed to initiate a build -->