From e433809f4dfb79ed081d4687508acbbeaa22322a Mon Sep 17 00:00:00 2001 From: Anthony Whitford Date: Sat, 5 Sep 2015 23:57:53 -0700 Subject: [PATCH] Moved maven-jxr-plugin and maven-project-info-reports-plugin reporting declarations into the parent pom. No need to duplicate in child modules. Utils did not have project-info reports, but there does not seem to be a good reason. Also note that the JXR plugin is naturally skipped when it does not apply (there is no java code), so not necessary to explicitly skip it for gradle and jenkins modules. --- dependency-check-ant/pom.xml | 5 ----- dependency-check-cli/pom.xml | 19 ------------------- dependency-check-core/pom.xml | 19 ------------------- dependency-check-maven/pom.xml | 19 ------------------- dependency-check-utils/pom.xml | 5 ----- pom.xml | 11 +++++++---- 6 files changed, 7 insertions(+), 71 deletions(-) diff --git a/dependency-check-ant/pom.xml b/dependency-check-ant/pom.xml index 7e7208aef..c1eb45c50 100644 --- a/dependency-check-ant/pom.xml +++ b/dependency-check-ant/pom.xml @@ -317,11 +317,6 @@ Copyright (c) 2013 - Jeremy Long. All Rights Reserved. - - org.apache.maven.plugins - maven-jxr-plugin - ${reporting.jxr-plugin.version} - org.codehaus.mojo cobertura-maven-plugin diff --git a/dependency-check-cli/pom.xml b/dependency-check-cli/pom.xml index c76f50b72..c7dac3bdc 100644 --- a/dependency-check-cli/pom.xml +++ b/dependency-check-cli/pom.xml @@ -178,20 +178,6 @@ Copyright (c) 2012 - Jeremy Long. All Rights Reserved. - - org.apache.maven.plugins - maven-project-info-reports-plugin - ${reporting.project-info-reports-plugin.version} - - - - summary - license - help - - - - org.apache.maven.plugins maven-javadoc-plugin @@ -222,11 +208,6 @@ Copyright (c) 2012 - Jeremy Long. All Rights Reserved. - - org.apache.maven.plugins - maven-jxr-plugin - ${reporting.jxr-plugin.version} - org.codehaus.mojo cobertura-maven-plugin diff --git a/dependency-check-core/pom.xml b/dependency-check-core/pom.xml index f77e3b9b4..9d438259e 100644 --- a/dependency-check-core/pom.xml +++ b/dependency-check-core/pom.xml @@ -228,20 +228,6 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved. - - org.apache.maven.plugins - maven-project-info-reports-plugin - ${reporting.project-info-reports-plugin.version} - - - - summary - license - help - - - - org.apache.maven.plugins maven-javadoc-plugin @@ -272,11 +258,6 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved. - - org.apache.maven.plugins - maven-jxr-plugin - ${reporting.jxr-plugin.version} - org.codehaus.mojo cobertura-maven-plugin diff --git a/dependency-check-maven/pom.xml b/dependency-check-maven/pom.xml index 49231cc42..88346dd4f 100644 --- a/dependency-check-maven/pom.xml +++ b/dependency-check-maven/pom.xml @@ -127,20 +127,6 @@ Copyright (c) 2013 Jeremy Long. All Rights Reserved. - - org.apache.maven.plugins - maven-project-info-reports-plugin - ${reporting.project-info-reports-plugin.version} - - - - summary - license - help - - - - org.apache.maven.plugins maven-plugin-plugin @@ -179,11 +165,6 @@ Copyright (c) 2013 Jeremy Long. All Rights Reserved. - - org.apache.maven.plugins - maven-jxr-plugin - ${reporting.jxr-plugin.version} - org.codehaus.mojo cobertura-maven-plugin diff --git a/dependency-check-utils/pom.xml b/dependency-check-utils/pom.xml index 21ce57bdd..74f778b6a 100644 --- a/dependency-check-utils/pom.xml +++ b/dependency-check-utils/pom.xml @@ -135,11 +135,6 @@ Copyright (c) 2014 - Jeremy Long. All Rights Reserved. - - org.apache.maven.plugins - maven-jxr-plugin - ${reporting.jxr-plugin.version} - org.codehaus.mojo cobertura-maven-plugin diff --git a/pom.xml b/pom.xml index 92a976c82..fd6b6b457 100644 --- a/pom.xml +++ b/pom.xml @@ -133,12 +133,9 @@ Copyright (c) 2012 - Jeremy Long 2.6 3.0.1 2.10.3 - 2.5 3.4 3.5 - - 2.8 2.18.1 2.4 2.2 @@ -366,10 +363,15 @@ Copyright (c) 2012 - Jeremy Long org.apache.maven.plugins maven-dependency-plugin + + org.apache.maven.plugins + maven-jxr-plugin + 2.5 + org.apache.maven.plugins maven-project-info-reports-plugin - ${reporting.project-info-reports-plugin.version} + 2.8 @@ -393,6 +395,7 @@ Copyright (c) 2012 - Jeremy Long +