Update all pom.xml to be aligned with Oxygen
[transportpce.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index cc4bc42a5f247bcf6bdbf7e3eac20a0741e85c55..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>2.0.2</version>
+    <version>2.0.5</version>
     <relativePath/>
   </parent>
 
@@ -45,6 +45,17 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
   </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>