Add missing copyrights
[bgpcep.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 2051d5516672a7af65377aa0546a3481495780b1..b33fda85fa0994fe7077ae86d3ee3bc86f8691fd 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         <tag>HEAD</tag>
     </scm>
     <parent>
-        <groupId>org.opendaylight.bgpcep</groupId>
-        <artifactId>bgpcep-parent</artifactId>
-        <version>0.4.0-SNAPSHOT</version>
-        <relativePath>parent</relativePath>
+        <groupId>org.opendaylight.odlparent</groupId>
+        <artifactId>odlparent-lite</artifactId>
+        <version>3.0.2</version>
+        <relativePath/>
     </parent>
 
+    <groupId>org.opendaylight.bgpcep</groupId>
     <artifactId>bgpcep-aggregator</artifactId>
+    <version>0.10.0-SNAPSHOT</version>
     <packaging>pom</packaging>
     <name>bgpcep</name> <!-- Used by Sonar to set project name -->
     <description>BGPCEP top-level aggregator</description>
     <modules>
         <!-- Well-known -->
         <module>artifacts</module>
-        <!-- <module>feature</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>bgp</module>
+        <module>bmp</module>
         <module>pcep</module>
         <module>programming</module>
         <module>rsvp</module>
         <module>topology</module>
-
-        <!-- Integration tests -->
-        <module>integration-tests</module>
+        <module>config-loader</module>
 
         <!--Test tools -->
         <module>data-change-counter</module>
-        <module>data-change-counter-controller-config</module>
+        <module>testtool-util</module>
 
+        <!-- Minimal complete distribution -->
+        <module>distribution-karaf</module>
     </modules>
 
     <build>
@@ -84,7 +93,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-->
         </plugins>
     </reporting>
 
+  <profiles>
+    <profile>
+      <!--
+          This profile is to ensure we only build javadocs reports
+          when we plan to deploy Maven site for our project.
+      -->
+      <id>maven-site</id>
+      <activation>
+        <file>
+          <exists>${user.dir}/deploy-site.xml</exists>
+        </file>
+      </activation>
+
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <inherited>false</inherited>
+            <executions>
+              <execution>
+                <id>aggregate</id>
+                <goals>
+                  <goal>aggregate</goal>
+                </goals>
+                <phase>package</phase>
+            </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>