Update all pom.xml to be aligned with Oxygen
[transportpce.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index bb6765655b3c5f8cd4d1ecb2f4e73292f866e373..2ba19ec870cb8727cc911ffc90998c7f26e7720d 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -11,7 +11,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
   <parent>
     <groupId>org.opendaylight.odlparent</groupId>
     <artifactId>odlparent</artifactId>
-    <version>1.9.0</version>
+    <version>2.0.5</version>
     <relativePath/>
   </parent>
 
@@ -29,6 +29,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
   </scm>
 
   <modules>
+    <module>artifacts</module>
     <module>api</module>
     <module>ordmodels</module>
     <module>impl</module>
@@ -37,14 +38,24 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
     <module>stubrenderer</module>
     <module>stubpce</module>
     <module>servicehandler</module>
-    <module>karaf</module>
-    <module>features</module>
-    <module>artifacts</module>
     <module>cli</module>
+    <module>features</module>
+    <module>karaf</module>
     <module>it</module>
   </modules>
 
   <!-- DO NOT install or deploy the repo root pom as it's only needed to initiate a build -->
+  <!--
+      Jenkins-releng tests reports more than 600 lines of javadoc warnings on ordmodels
+      and api folders generated-sources for unclear reasons.
+      This behavior was impossible to reproduce locally.
+      The javadoc plugin build section below removes most of those useless warnings.
+      ordmodels/pom.xml and api/pom.xml have been modified similarly with a build and
+      a reporting sections to remove the rest of the warnings.
+      Note that javadoc plugins maven implementation still suffers from several bugs.
+      Tests shows that many configurations options are not correctly supported.
+      (proxy, sourceFilesExclude, etc...).
+  -->
   <build>
     <plugins>
       <plugin>
@@ -61,6 +72,14 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
           <skip>true</skip>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <configuration>
+          <sourcepath>*/target/generated-sources/mdsal-binding/*</sourcepath>
+          <excludePackageNames>*</excludePackageNames>
+        </configuration>
+      </plugin>
     </plugins>
   </build>