X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=odlparent%2Fsetup%2Fsrc%2Fmain%2Fresources%2Fpom-template.xml;h=3c4a905edc9a565733c495103fd259aee36a17ab;hb=d9c8dcbd5a1d039b1a2f8eb6bd135049567d6f5c;hp=3bc3a13cc5aebceafd2fd21c85176ff76d5d8a89;hpb=46751a7e8876ea31868f51be3e7f8c8f0dad0c87;p=ccsdk%2Fparent.git diff --git a/odlparent/setup/src/main/resources/pom-template.xml b/odlparent/setup/src/main/resources/pom-template.xml index 3bc3a13c..3c4a905e 100755 --- a/odlparent/setup/src/main/resources/pom-template.xml +++ b/odlparent/setup/src/main/resources/pom-template.xml @@ -53,11 +53,8 @@ 0.8.5 - 1.8 - 1.8 UTF-8 UTF-8 - https://nexus.onap.org /content/sites/site/\${project.groupId}/\${project.artifactId}/\${project.version} @@ -68,6 +65,7 @@ + https://nexus.onap.org nexus.onap.org 443 https @@ -83,66 +81,70 @@ https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ UTF-8 - 1.8 - 1.8 - 2.5.0 - 2.5.1 + 11 + 3.0.0-M5 + 3.0.0-M5 + 4.2.1 + 3.8.1 features.xml src/main/yang-gen-config src/main/yang-gen-sal + 3.1.1 true + false - 1.6.4 + 1.6.9 - 0.7.1-SNAPSHOT - 0.7.1-SNAPSHOT - 0.7.1-SNAPSHOT - 0.7.1-SNAPSHOT - 0.7.1-SNAPSHOT - 0.7.1-SNAPSHOT - \${ccsdk.sli.core.version} - \${ccsdk.sli.adaptors.version} - \${ccsdk.sli.core.version} - \${ccsdk.sli.adaptors.version} - \${ccsdk.sli.core.version} + (1.1.99999, 1.2.99999-SNAPSHOT) + (1.1.99999, 1.2.99999-SNAPSHOT) + (1.1.99999, 1.2.99999-SNAPSHOT) + (1.2.99999, 1.3.99999-SNAPSHOT) + \${ccsdk.sli.version} + \${ccsdk.sli.version} + \${ccsdk.sli.version} + \${ccsdk.sli.version} + \${ccsdk.sli.version} + \${ccsdk.sli.version} + \${ccsdk.sli.version} + \${ccsdk.sli.version} - 1.9.1 - 3.0.8 - 1.0.8 - 1.9.1 - 1.6.1 - 1.9.1 + 1.13.2 + 7.0.7 + 7.0.7 + 1.13.2 + 1.13.2 + 1.13.2 - 1.12 + 1.15 - 3.8.1 + 3.11 2.6 - 3.6 + 3.8.0 - 2.7.3 + 2.7.7 4.4.1 2.8.5 - 25.1-jre + 29.0-jre - 2.9.8 + 2.11.4 - 3.24.1-GA + 3.27.0-GA - 2.25.1 + 2.27 - 2.25.1 + 2.27 @@ -150,35 +152,35 @@ 20131018 - 4.12 + 4.13.2 - 1.2.3 + 1.11.7 - 1.10.19 + 3.3.3 - 4.1.34.Final + 4.1.63.Final - 1.7.25 + 1.7.29 - 4.3.24.RELEASE + 4.3.25.RELEASE 0.6.4 - 4.7.2 + 4.8-1 1.0.0 4.4.12 - 4.5.10 + 4.5.13 10.14.2.0 1.0.0 1.21.1 - 2.4.4 + 2.7.3 2.4.0 6.14.3 - 9.0.27 - 9.4.12.v20180830 + 9.0.52 + 9.4.38.v20210224 true direct-dependencies.txt @@ -189,12 +191,26 @@ parent pom, inherited value takes precedence. This seems more like a bug than a feature, but this is how maven 3.6 works --> - org.onap.ccsdk.parent + ${project.groupId} dependencies-odl-bom ${project.version} pom import + + ${project.groupId} + dependencies-bom + ${project.version} + pom + import + + + org.springframework.boot + spring-boot-dependencies + 2.3.8.RELEASE + import + pom + org.onap.logging-analytics logging-slf4j @@ -205,6 +221,12 @@ logging-filter-base \${logging-analytics.version} + + junit + junit + \${junit.version} + test + @@ -279,8 +301,8 @@ true - + onap-public @@ -341,7 +363,6 @@ JCenter Repository http://jcenter.bintray.com - Restlet Restlet Repository @@ -360,6 +381,7 @@ 2.8 + true @@ -411,6 +433,40 @@ + + enforce-maven + + enforce + + + + + 8 + + + [3.5.0,) + + + + + + enforce-banned-dependencies + + enforce + + + + + Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations + + org.mockito:mockito-all + + + + + true + + @@ -420,12 +476,11 @@ ${sonar.scanner.version} - org.apache.maven.plugins maven-surefire-plugin - 2.22.0 + ${maven-surefire-plugin.version} \${surefireArgLine} @@ -438,7 +493,7 @@ org.apache.maven.plugins maven-failsafe-plugin - 2.22.0 + ${maven-failsafe-plugin.version} @@ -510,10 +565,185 @@ true + + de.jacks-it-lab + frontend-maven-plugin + 1.7.2 + + + com.github.alexcojocaru + elasticsearch-maven-plugin + 6.16 + + 7.1.1 + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.2.0 + + false + + + + com.github.spotbugs + spotbugs-maven-plugin + 3.1.12.2 + + + analyze-compile + compile + + check + + + + + jp.skypencil.findbugs.slf4j + bug-pattern + 1.5.0 + + + Max + Low + false + true + spotbugs-exclude.xml + true + /home/jack/onap/onap-sdnr/features/sdnr/wt-aluminium-sr0-2/target/wt/common/target-ide/spotbugs + + + + + + com.github.spotbugs + spotbugs + 3.1.12 + compile + + + org.opendaylight.odlparent + spotbugs + 7.0.5 + compile + + + org.slf4j + slf4j-simple + 1.8.0-beta2 + compile + + + + + + jp.skypencil.findbugs.slf4j + bug-pattern + 1.5.0 + + + Max + Low + false + true + spotbugs-exclude.xml + true + /home/jack/onap/onap-sdnr/features/sdnr/wt-aluminium-sr0-2/target/wt/common/target-ide/spotbugs + + + + org.apache.maven.plugins + maven-checkstyle-plugin + ${checkstyle.plugin.version} + + + org.onap.oparent + checkstyle + 1.2.2 + + + + + process-sources + + check + + + false + true + + + + check-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.gaul + modernizer-maven-plugin + 2.1.0 + + + modernizer + verify + + modernizer + + + false + true + + + + + false + true + + - org.apache.maven.plugins @@ -522,65 +752,24 @@ org.apache.maven.plugins maven-site-plugin - - - org.apache.maven.plugins - maven-enforcer-plugin + + org.apache.maven.plugins 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 @@ -693,7 +882,6 @@ org.apache.maven.plugins maven-javadoc-plugin - 2.10.4 attach-javadocs @@ -706,6 +894,90 @@ + + maven-enforcer-plugin + 3.0.0-M2 + + + enforce-property + + enforce + + + + + onap.nexus.url + You must set a onap.nexus.url property in your + ~/.m2/settings.xml. See oparent/settings.xml for an example. + + + + true + + + + enforce-no-snapshots + + enforce + + + + + false + true + WARN + + + + + + enforce-maven + + enforce + + + + + 1.8.0 + + + [3.5.0,) + + + + + + enforce-banned-dependencies + + enforce + + + + + Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations + + org.mockito:mockito-all + + + + + true + + + + + + pl.project13.maven + git-commit-id-plugin + 4.0.0 + + full + + ^git.build.(time|version)$ + ^git.commit.id.(abbrev|full)$ + + + @@ -713,25 +985,11 @@ maven-javadoc-plugin - 2.10.4 false -Xdoclint:none - - org.jacoco - jacoco-maven-plugin - \${jacoco.version} - - - - - report - - - - @@ -858,16 +1116,16 @@ + message="cd \${project.build.directory}\${file.separator}generated-sources\${line.separator}"/> + message="mvn clean install -Dmaven.test.skip=true\${line.separator}"/> + message="cd \${project.build.directory}\${file.separator}generated-sources\${line.separator}"/> + message="mvn clean install -Dmaven.test.skip=true\${line.separator}"/> @@ -1017,13 +1275,14 @@ org.opendaylight.yangtools yang-maven-plugin - 2.1.8 + 6.0.6 org.opendaylight.mdsal maven-sal-api-gen-plugin \${odl.mdsal.model.version} jar + compile org.opendaylight.netconf @@ -1045,10 +1304,12 @@ org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl \${salGeneratorPath} + true