From 829b0e212e60f545577415e581b4fb55068bdc48 Mon Sep 17 00:00:00 2001 From: "Singal, Kapil (ks220y)" Date: Wed, 5 Feb 2020 11:55:21 -0500 Subject: [PATCH] Cleaning up springboot parent poms Removing/adding plugins executions and updating version Keeping in synch with other odlparent poms. Issue-ID: CCSDK-2077 Signed-off-by: Singal, Kapil (ks220y) Change-Id: Id9677b2fd2fad8e2d0b43a20798214ee3f4b5c3b --- springboot/springboot1/pom.xml | 398 ++++++++++++++--------------------------- springboot/springboot2/pom.xml | 394 ++++++++++++++-------------------------- 2 files changed, 262 insertions(+), 530 deletions(-) diff --git a/springboot/springboot1/pom.xml b/springboot/springboot1/pom.xml index c5cb56cf..3a5e46fc 100755 --- a/springboot/springboot1/pom.xml +++ b/springboot/springboot1/pom.xml @@ -48,7 +48,6 @@ 0.8.5 - 1.8 1.8 @@ -84,7 +83,6 @@ src/main/yang-gen-sal true - 0.7.1-SNAPSHOT 0.7.1-SNAPSHOT @@ -99,16 +97,11 @@ ${ccsdk.sli.core.version} - 4.7.2 - 2.6 4.4.12 4.5.10 2.25.1 - 2.25.1 2.4.4 - direct-dependencies.txt - @@ -149,7 +142,6 @@ dblib-provider ${sdnctl.dblib.version} - @@ -251,7 +243,6 @@ - org.apache.maven.plugins @@ -262,7 +253,6 @@ - org.apache.maven.plugins maven-site-plugin @@ -273,90 +263,20 @@ wagon-webdav-jackrabbit 2.10 - - org.apache.maven.doxia - doxia-core - 1.7 - - - org.apache.maven.doxia - doxia-sink-api - 1.7 - - - org.apache.maven.doxia - doxia-logging-api - 1.7 - - - - attach-descriptor - - attach-descriptor - - - + - maven-checkstyle-plugin - 2.17 - - - org.onap.oparent - checkstyle - 1.1.1 - - - - - check-license - - check - - process-sources - - onap-checkstyle/check-license.xml - onap-checkstyle/apache-license-2.regexp.txt - false - true - false - ${project.build.sourceDirectory} - - - false - true - - - - check-style - - check - - process-sources - - - onap-checkstyle/onap-java-style.xml - - ${project.build.sourceDirectory}/src/main/java - true - true - true - - - false - true - - - + org.sonarsource.scanner.maven + sonar-maven-plugin + ${sonar.scanner.version} + org.apache.maven.plugins maven-surefire-plugin - 2.19.1 + 2.22.0 ${surefireArgLine} @@ -369,7 +289,7 @@ org.apache.maven.plugins maven-failsafe-plugin - 2.19.1 + 2.22.0 @@ -386,84 +306,48 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven.compile.plugin.version} - - ${java.version.source} - ${java.version.target} - - - - org.sonarsource.scanner.maven - sonar-maven-plugin - 3.6.0.1398 - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.4 - - - - org.slf4j - slf4j-api - ${slf4j.version} - - - org.antlr - antlr4 - ${antlr.version} - - - org.antlr - antlr4-runtime - ${antlr.version} - - - - com.sun.jersey - jersey-client - ${jersey.client.version} - - - com.sun.jersey - jersey-core - ${jersey.version} - - - org.apache.httpcomponents - httpcore-osgi - ${apache.httpcomponents.core.version} - - - org.apache.httpcomponents - httpclient-osgi - ${apache.httpcomponents.client.version} - - - commons-lang - commons-lang - ${commons.lang.version} - - - - + org.codehaus.mojo + properties-maven-plugin + 1.0.0 - aggregate - aggregate + set-system-properties - site - + + + + maven.wagon.http.ssl.allowall + ${ssl.allowall} + + + maven.wagon.http.ssl.insecure + ${ssl.insecure} + + + + + + org.codehaus.mojo + versions-maven-plugin + 2.5 + + true + + + + maven-scm-plugin + 1.8.1 + + ${project.artifactId}-${project.version} + + com.github.ferstl depgraph-maven-plugin @@ -478,10 +362,83 @@ - + - + + + org.apache.maven.plugins + maven-deploy-plugin + + + org.apache.maven.plugins + maven-site-plugin + + + org.apache.maven.plugins + maven-enforcer-plugin + + + + + + maven-checkstyle-plugin + 2.17 + + + org.onap.oparent + checkstyle + 1.2.2 + + + + + onap-license + + check + + process-sources + + onap-checkstyle/check-license.xml + false + true + false + ${project.build.sourceDirectory} + + + true + false + + + + onap-java-style + + check + + process-sources + + + onap-checkstyle/onap-java-style.xml + + ${project.build.sourceDirectory}/src/main/java + true + true + true + + + true + false + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 1.12 + org.jacoco @@ -496,13 +453,11 @@ ${project.build.directory}/code-coverage/jacoco-ut.exec - + surefireArgLine - + post-unit-test test @@ -525,13 +480,11 @@ ${project.build.directory}/code-coverage/jacoco-it.exec - + failsafeArgLine - + post-integration-test post-integration-test @@ -580,19 +533,6 @@ - - maven-checkstyle-plugin - - - org.codehaus.mojo - build-helper-maven-plugin - 1.12 - - - - org.jacoco - jacoco-maven-plugin - org.apache.maven.plugins maven-surefire-plugin @@ -601,47 +541,23 @@ org.apache.maven.plugins maven-failsafe-plugin - - + - org.codehaus.mojo - properties-maven-plugin - 1.0.0 + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + attach-javadocs - set-system-properties + jar - - - maven.wagon.http.ssl.allowall - ${ssl.allowall} - - - maven.wagon.http.ssl.insecure - ${ssl.insecure} - - + -Xdoclint:none - - org.codehaus.mojo - versions-maven-plugin - 2.5 - - true - - - - maven-scm-plugin - 1.8.1 - - ${project.artifactId}-${project.version} - - @@ -652,74 +568,22 @@ 2.10.4 false - org.umlgraph.doclet.UmlGraphDoc - - org.umlgraph - umlgraph - 5.6 - - -views - true - org.opendaylight.* + -Xdoclint:none - - - - javadoc-no-fork - test-javadoc-no-fork - - - - aggregate - - aggregate - test-aggregate - - - - org.apache.maven.plugins - maven-jxr-plugin - 2.3 - - - aggregate - - aggregate - test-aggregate - - - - - - - maven-surefire-plugin - 2.17 - - - org.apache.maven.plugins - maven-changelog-plugin - 2.3 + org.jacoco + jacoco-maven-plugin + ${jacoco.version} - dual-report - - range - 30 - - changelog - file-activity + + report - - org.codehaus.mojo - taglist-maven-plugin - 2.4 - diff --git a/springboot/springboot2/pom.xml b/springboot/springboot2/pom.xml index 3ab11e68..38c853a4 100755 --- a/springboot/springboot2/pom.xml +++ b/springboot/springboot2/pom.xml @@ -112,8 +112,6 @@ 1.9.3 - 4.7.2 - 2.6 4.4.12 4.5.10 10.14.2.0 @@ -123,8 +121,6 @@ 3.10.0 3.1.5 2.25.1 - 2.25.1 - 1.3.8 4.12 1.2.3 2.4.4 @@ -280,7 +276,6 @@ - org.apache.maven.plugins @@ -291,7 +286,6 @@ - org.apache.maven.plugins maven-site-plugin @@ -302,90 +296,20 @@ wagon-webdav-jackrabbit 2.10 - - org.apache.maven.doxia - doxia-core - 1.7 - - - org.apache.maven.doxia - doxia-sink-api - 1.7 - - - org.apache.maven.doxia - doxia-logging-api - 1.7 - - - - attach-descriptor - - attach-descriptor - - - + - maven-checkstyle-plugin - 2.17 - - - org.onap.oparent - checkstyle - 1.1.1 - - - - - check-license - - check - - process-sources - - onap-checkstyle/check-license.xml - onap-checkstyle/apache-license-2.regexp.txt - false - true - false - ${project.build.sourceDirectory} - - - false - true - - - - check-style - - check - - process-sources - - - onap-checkstyle/onap-java-style.xml - - ${project.build.sourceDirectory}/src/main/java - true - true - true - - - false - true - - - + org.sonarsource.scanner.maven + sonar-maven-plugin + ${sonar.scanner.version} + org.apache.maven.plugins maven-surefire-plugin - 2.19.1 + 2.22.0 ${surefireArgLine} @@ -398,7 +322,7 @@ org.apache.maven.plugins maven-failsafe-plugin - 2.19.1 + 2.22.0 @@ -415,84 +339,48 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven.compile.plugin.version} - - ${java.version.source} - ${java.version.target} - - - - org.sonarsource.scanner.maven - sonar-maven-plugin - 3.6.0.1398 - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.4 - - - - org.slf4j - slf4j-api - ${slf4j.version} - - - org.antlr - antlr4 - ${antlr.version} - - - org.antlr - antlr4-runtime - ${antlr.version} - - - - com.sun.jersey - jersey-client - ${jersey.client.version} - - - com.sun.jersey - jersey-core - ${jersey.version} - - - org.apache.httpcomponents - httpcore-osgi - ${apache.httpcomponents.core.version} - - - org.apache.httpcomponents - httpclient-osgi - ${apache.httpcomponents.client.version} - - - commons-lang - commons-lang - ${commons.lang.version} - - - - + org.codehaus.mojo + properties-maven-plugin + 1.0.0 - aggregate - aggregate + set-system-properties - site - + + + + maven.wagon.http.ssl.allowall + ${ssl.allowall} + + + maven.wagon.http.ssl.insecure + ${ssl.insecure} + + + + + + org.codehaus.mojo + versions-maven-plugin + 2.5 + + true + + + + maven-scm-plugin + 1.8.1 + + ${project.artifactId}-${project.version} + + com.github.ferstl depgraph-maven-plugin @@ -507,10 +395,83 @@ - + - + + + org.apache.maven.plugins + maven-deploy-plugin + + + org.apache.maven.plugins + maven-site-plugin + + + org.apache.maven.plugins + maven-enforcer-plugin + + + + + + maven-checkstyle-plugin + 2.17 + + + org.onap.oparent + checkstyle + 1.2.2 + + + + + onap-license + + check + + process-sources + + onap-checkstyle/check-license.xml + false + true + false + ${project.build.sourceDirectory} + + + true + false + + + + onap-java-style + + check + + process-sources + + + onap-checkstyle/onap-java-style.xml + + ${project.build.sourceDirectory}/src/main/java + true + true + true + + + true + false + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 1.12 + org.jacoco @@ -525,13 +486,11 @@ ${project.build.directory}/code-coverage/jacoco-ut.exec - + surefireArgLine - + post-unit-test test @@ -554,13 +513,11 @@ ${project.build.directory}/code-coverage/jacoco-it.exec - + failsafeArgLine - + post-integration-test post-integration-test @@ -609,19 +566,6 @@ - - maven-checkstyle-plugin - - - org.codehaus.mojo - build-helper-maven-plugin - 1.12 - - - - org.jacoco - jacoco-maven-plugin - org.apache.maven.plugins maven-surefire-plugin @@ -630,47 +574,23 @@ org.apache.maven.plugins maven-failsafe-plugin - - + - org.codehaus.mojo - properties-maven-plugin - 1.0.0 + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + attach-javadocs - set-system-properties + jar - - - maven.wagon.http.ssl.allowall - ${ssl.allowall} - - - maven.wagon.http.ssl.insecure - ${ssl.insecure} - - + -Xdoclint:none - - org.codehaus.mojo - versions-maven-plugin - 2.5 - - true - - - - maven-scm-plugin - 1.8.1 - - ${project.artifactId}-${project.version} - - @@ -681,74 +601,22 @@ 2.10.4 false - org.umlgraph.doclet.UmlGraphDoc - - org.umlgraph - umlgraph - 5.6 - - -views - true - org.opendaylight.* + -Xdoclint:none - - - - javadoc-no-fork - test-javadoc-no-fork - - - - aggregate - - aggregate - test-aggregate - - - - org.apache.maven.plugins - maven-jxr-plugin - 2.3 - - - aggregate - - aggregate - test-aggregate - - - - - - - maven-surefire-plugin - 2.17 - - - org.apache.maven.plugins - maven-changelog-plugin - 2.3 + org.jacoco + jacoco-maven-plugin + ${jacoco.version} - dual-report - - range - 30 - - changelog - file-activity + + report - - org.codehaus.mojo - taglist-maven-plugin - 2.4 - -- 2.16.6