Bump versions to 0.16.7-SNAPSHOT
[bgpcep.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index d5668e7a1c25e33a6280e1be4b1b77f6d32a82bc..5ede46073df601cafc5f4c15bb533140aa47ca96 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -7,51 +7,62 @@
  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">
-
     <modelVersion>4.0.0</modelVersion>
-    <scm>
-        <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
-        <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
-        <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
-        <tag>HEAD</tag>
-    </scm>
     <parent>
-        <groupId>org.opendaylight.bgpcep</groupId>
-        <artifactId>commons.parent</artifactId>
-        <version>0.3.1-SNAPSHOT</version>
-        <relativePath>commons/parent</relativePath>
+        <groupId>org.opendaylight.odlparent</groupId>
+        <artifactId>odlparent-lite</artifactId>
+        <version>9.0.6</version>
+        <relativePath/>
     </parent>
 
-    <artifactId>releasepom</artifactId>
+    <groupId>org.opendaylight.bgpcep</groupId>
+    <artifactId>bgpcep-aggregator</artifactId>
+    <version>0.16.7-SNAPSHOT</version>
     <packaging>pom</packaging>
-    <name>BGPCEP release</name>
-    <description>BGPCEP top-level pom</description>
+    <name>bgpcep</name> <!-- Used by Sonar to set project name -->
+    <description>BGPCEP top-level aggregator</description>
 
     <modules>
+        <!-- Well-known -->
+        <module>artifacts</module>
+        <module>features</module>
+        <module>parent</module>
+
+        <!-- Utility parents -->
+        <module>binding-parent</module>
+        <module>testtool-parent</module>
+        <module>single-feature-parent</module>
+        <module>feature-repo-parent</module>
+
         <!-- Common infra -->
         <module>concepts</module>
         <module>util</module>
 
         <!-- Subsystems -->
+        <module>graph</module>
         <module>bgp</module>
+        <module>bmp</module>
+        <module>algo</module>
         <module>pcep</module>
         <module>programming</module>
         <module>rsvp</module>
         <module>topology</module>
-        <module>tcp-md5</module>
+        <module>config-loader</module>
 
-        <!-- Integration tests -->
-        <module>integration-tests</module>
+        <!--Test tools -->
+        <module>data-change-counter</module>
+        <module>testtool-util</module>
 
-        <!-- Parents -->
-        <module>commons/parent</module>
-
-        <!-- Distributions -->
-        <module>commons/distributions/bgpcep-controller</module>
+        <!-- Minimal complete distribution -->
+        <module>distribution-karaf</module>
     </modules>
 
+    <properties>
+        <maven.deploy.skip>true</maven.deploy.skip>
+        <maven.install.skip>true</maven.install.skip>
+    </properties>
+
     <build>
         <plugins>
             <plugin>
@@ -75,7 +86,6 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-project-info-reports-plugin</artifactId>
-                <version>${maven.info.reports.version}</version>
                 <reportSets>
                     <reportSet>
                         <reports>
                     </reportSet>
                 </reportSets>
             </plugin>
-            <!--plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-javadoc-plugin</artifactId>
-                <reportSets>
-                    <reportSet>
-                        <id>aggregate</id>
-                        <reports>
-                            <report>aggregate</report>
-                        </reports>
-                    </reportSet>
-                </reportSets>
-            </plugin-->
-            <!--plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>findbugs-maven-plugin</artifactId>
-                <version>2.4.0</version>
-                <configuration>
-                    <effort>Max</effort>
-                    <threshold>Low</threshold>
-                    <goal>site</goal>
-                </configuration>
-            </plugin-->
         </plugins>
     </reporting>
 
+    <profiles>
+        <profile>
+            <id>karaf</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+
+            <modules>
+                <module>distribution-karaf</module>
+            </modules>
+        </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>
 </project>