From b6288f99fbfcc73f115511696f98111ca32b8d2f Mon Sep 17 00:00:00 2001 From: Michael DÜrre Date: Tue, 1 Dec 2020 13:34:56 +0100 Subject: ccsdk parents for alu-sr0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit migrate parents to aluminium-sr0 Issue-ID: CCSDK-3012 Signed-off-by: Michael DÜrre Change-Id: I8c19abcfa4a0fbac629496835e4caf92aecd2459 Signed-off-by: Michael DÜrre --- odlparent/setup/pom.xml | 2 +- .../src/main/properties/binding-parent.properties | 2 +- .../src/main/properties/bundle-parent.properties | 2 +- .../main/properties/feature-repo-parent.properties | 2 +- .../src/main/properties/karaf4-parent.properties | 2 +- .../src/main/properties/mdsal-it-parent.properties | 2 +- .../src/main/properties/odlparent-lite.properties | 2 +- .../setup/src/main/properties/odlparent.properties | 2 +- .../properties/single-feature-parent.properties | 2 +- .../setup/src/main/resources/pom-template.xml | 297 ++++++++++++++++----- 10 files changed, 246 insertions(+), 69 deletions(-) (limited to 'odlparent/setup') diff --git a/odlparent/setup/pom.xml b/odlparent/setup/pom.xml index 67111a8b..6b5cdfaa 100755 --- a/odlparent/setup/pom.xml +++ b/odlparent/setup/pom.xml @@ -92,7 +92,7 @@ ${basedir}/src/main/properties/feature-repo-parent.properties - UTF-8 + UTF-8 diff --git a/odlparent/setup/src/main/properties/binding-parent.properties b/odlparent/setup/src/main/properties/binding-parent.properties index bf6cce1c..dd00c086 100644 --- a/odlparent/setup/src/main/properties/binding-parent.properties +++ b/odlparent/setup/src/main/properties/binding-parent.properties @@ -1,3 +1,3 @@ odlparent.artifactId=binding-parent odlparent.groupId=org.opendaylight.mdsal -odlparent.version=4.0.17 +odlparent.version=6.0.7 diff --git a/odlparent/setup/src/main/properties/bundle-parent.properties b/odlparent/setup/src/main/properties/bundle-parent.properties index 43025bb0..bbe4524f 100644 --- a/odlparent/setup/src/main/properties/bundle-parent.properties +++ b/odlparent/setup/src/main/properties/bundle-parent.properties @@ -1,3 +1,3 @@ odlparent.artifactId=bundle-parent odlparent.groupId=org.opendaylight.odlparent -odlparent.version=5.0.11 +odlparent.version=7.0.7 diff --git a/odlparent/setup/src/main/properties/feature-repo-parent.properties b/odlparent/setup/src/main/properties/feature-repo-parent.properties index 955bdc8f..97e5a281 100644 --- a/odlparent/setup/src/main/properties/feature-repo-parent.properties +++ b/odlparent/setup/src/main/properties/feature-repo-parent.properties @@ -1,3 +1,3 @@ odlparent.artifactId=feature-repo-parent odlparent.groupId=org.opendaylight.odlparent -odlparent.version=5.0.11 +odlparent.version=7.0.7 diff --git a/odlparent/setup/src/main/properties/karaf4-parent.properties b/odlparent/setup/src/main/properties/karaf4-parent.properties index d5b0fe71..0f8077d7 100644 --- a/odlparent/setup/src/main/properties/karaf4-parent.properties +++ b/odlparent/setup/src/main/properties/karaf4-parent.properties @@ -1,3 +1,3 @@ odlparent.artifactId=karaf4-parent odlparent.groupId=org.opendaylight.odlparent -odlparent.version=5.0.11 +odlparent.version=7.0.7 diff --git a/odlparent/setup/src/main/properties/mdsal-it-parent.properties b/odlparent/setup/src/main/properties/mdsal-it-parent.properties index 75ebf4e0..b3f808a5 100644 --- a/odlparent/setup/src/main/properties/mdsal-it-parent.properties +++ b/odlparent/setup/src/main/properties/mdsal-it-parent.properties @@ -1,3 +1,3 @@ odlparent.artifactId=mdsal-it-parent odlparent.groupId=org.opendaylight.controller -odlparent.version=1.10.4 +odlparent.version=2.0.6 diff --git a/odlparent/setup/src/main/properties/odlparent-lite.properties b/odlparent/setup/src/main/properties/odlparent-lite.properties index f2eda6d4..befd86c4 100644 --- a/odlparent/setup/src/main/properties/odlparent-lite.properties +++ b/odlparent/setup/src/main/properties/odlparent-lite.properties @@ -1,3 +1,3 @@ odlparent.artifactId=odlparent-lite odlparent.groupId=org.opendaylight.odlparent -odlparent.version=5.0.11 +odlparent.version=7.0.7 diff --git a/odlparent/setup/src/main/properties/odlparent.properties b/odlparent/setup/src/main/properties/odlparent.properties index 462906bc..ca218faa 100644 --- a/odlparent/setup/src/main/properties/odlparent.properties +++ b/odlparent/setup/src/main/properties/odlparent.properties @@ -1,3 +1,3 @@ odlparent.artifactId=odlparent odlparent.groupId=org.opendaylight.odlparent -odlparent.version=5.0.11 +odlparent.version=7.0.7 diff --git a/odlparent/setup/src/main/properties/single-feature-parent.properties b/odlparent/setup/src/main/properties/single-feature-parent.properties index a43593f8..362cd2b1 100644 --- a/odlparent/setup/src/main/properties/single-feature-parent.properties +++ b/odlparent/setup/src/main/properties/single-feature-parent.properties @@ -1,3 +1,3 @@ odlparent.artifactId=single-feature-parent odlparent.groupId=org.opendaylight.odlparent -odlparent.version=5.0.11 +odlparent.version=7.0.7 diff --git a/odlparent/setup/src/main/resources/pom-template.xml b/odlparent/setup/src/main/resources/pom-template.xml index c37ba4a8..60e5fce7 100755 --- a/odlparent/setup/src/main/resources/pom-template.xml +++ b/odlparent/setup/src/main/resources/pom-template.xml @@ -53,8 +53,6 @@ 0.8.5 - 8 - 8 UTF-8 UTF-8 https://nexus.onap.org @@ -83,14 +81,17 @@ https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ UTF-8 - 8 - 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.6 @@ -110,40 +111,40 @@ \${ccsdk.sli.version} - 1.10.3 - 4.0.14 - 2.0.14 - 1.10.3 - 1.7.3 - 1.10.3 + 1.12.1 + 6.0.7 + 6.0.7 + 1.12.1 + 1.9.1 + 1.12.1 - 1.13 + 1.15 3.8.1 2.6 - 3.6 + 3.7 - 2.7.4 + 2.7.7 4.4.1 2.8.5 - 25.1-jre + 28.2-jre - 2.9.10 + 2.10.4 - 3.24.1-GA + 3.27.0-GA - 2.25.1 + 2.27 - 2.25.1 + 2.27 @@ -151,21 +152,21 @@ 20131018 - 4.12 + 4.13 - 1.2.3 + 1.11.6 - 1.10.19 + 3.3.3 - 4.1.42.Final + 4.1.51.Final - 1.7.25 + 1.7.29 4.3.25.RELEASE 0.6.4 - 4.7.2 + 4.8.1 1.0.0 @@ -179,7 +180,7 @@ 2.4.0 6.14.3 9.0.30 - 9.4.12.v20180830 + 9.4.28.v20200408 true direct-dependencies.txt @@ -190,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 @@ -215,6 +230,14 @@ + + + javax.annotation + javax.annotation-api + 1.3.2 + + + onap-public @@ -421,35 +444,35 @@ enforce-maven - enforce + enforce - - - 8 - - - [3.5.0,) - - + + + 8 + + + [3.5.0,) + + enforce-banned-dependencies - enforce + 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 + + + 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 @@ -461,12 +484,11 @@ ${sonar.scanner.version} - org.apache.maven.plugins maven-surefire-plugin - 2.22.0 + ${maven-surefire-plugin.version} \${surefireArgLine} @@ -479,7 +501,7 @@ org.apache.maven.plugins maven-failsafe-plugin - 2.22.0 + ${maven-failsafe-plugin.version} @@ -572,6 +594,143 @@ false + + maven-checkstyle-plugin + + + process-sources + + check + + + false + 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 + + + + maven-checkstyle-plugin + ${checkstyle.plugin.version} + + + org.onap.oparent + checkstyle + 1.2.2 + + + + + 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 + + + + @@ -584,13 +743,24 @@ org.apache.maven.plugins maven-site-plugin + maven-checkstyle-plugin - 2.17 + ${checkstyle.plugin.version} org.onap.oparent @@ -610,7 +780,9 @@ false true false - \${project.build.sourceDirectory} + + \${project.build.sourceDirectory} + true @@ -628,7 +800,9 @@ with minor changes --> onap-checkstyle/onap-java-style.xml - \${project.build.sourceDirectory}/src/main/java + + \${project.build.sourceDirectory}/src/main/java + true true true @@ -777,7 +951,8 @@ onap.nexus.url You must set a onap.nexus.url property in your - ~/.m2/settings.xml. See oparent/settings.xml for an example. + ~/.m2/settings.xml. See oparent/settings.xml for an example. + true @@ -984,16 +1159,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}"/> @@ -1143,7 +1318,7 @@ org.opendaylight.yangtools yang-maven-plugin - 3.0.11 + 5.0.5 org.opendaylight.mdsal @@ -1172,10 +1347,12 @@ org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl \${salGeneratorPath} + true -- cgit 1.2.3-korg