Fixed POMs for staging builds
Upgraded the javadoc plugin to support multi-module projects.
Run the PMD goal during verify instead of validate.
Change-Id: Ia0fb06c50fb963b8477e43ce5889a5d8aa0e8f20
Issue-ID: SDC-436
Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
(cherry picked from commit 8410799c11308264a8fc550df7cb9d6baaa1663a)
diff --git a/onboarding/pom.xml b/onboarding/pom.xml
index b3aa4d6..5bd0f3a 100644
--- a/onboarding/pom.xml
+++ b/onboarding/pom.xml
@@ -112,7 +112,7 @@
<executions>
<execution>
<id>jxr-generation</id>
- <phase>validate</phase>
+ <phase>verify</phase>
<goals>
<goal>jxr</goal>
<goal>test-jxr</goal>
@@ -135,7 +135,7 @@
<executions>
<execution>
<id>pmd-check</id>
- <phase>validate</phase>
+ <phase>verify</phase>
<goals>
<!-- violations fail build -->
<goal>check</goal>
diff --git a/pom.xml b/pom.xml
index 6957c5d..2c615b8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -123,7 +123,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>2.10.4</version>
+ <version>3.0.0-M1</version>
<configuration>
<failOnError>false</failOnError>
<doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>