From 8da6f0ad07be863774f32e29d624a407016c2132 Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Wed, 30 Aug 2023 13:28:44 +0200 Subject: [PATCH] Upgrade Maven and plug-ins (#15525) * Use Maven 3.9.4 with GitHub Actions CI * Upgrade Maven plug-ins Signed-off-by: Wouter Born --- .github/workflows/ci-build.yml | 2 +- bundles/pom.xml | 2 +- features/openhab-addons/pom.xml | 2 +- itests/pom.xml | 2 +- pom.xml | 61 ++++++++++++++++++--------------- 5 files changed, 37 insertions(+), 32 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index f3b5294b6d1..67bcdbde1ea 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -19,7 +19,7 @@ jobs: fail-fast: false matrix: java: [ '17' ] - maven: [ '3.8.6' ] + maven: [ '3.9.4' ] os: [ 'ubuntu-22.04' ] name: Build (Java ${{ matrix.java }}, ${{ matrix.os }}) runs-on: ${{ matrix.os }} diff --git a/bundles/pom.xml b/bundles/pom.xml index 9c099d94e55..b08a60355ab 100644 --- a/bundles/pom.xml +++ b/bundles/pom.xml @@ -606,7 +606,7 @@ org.apache.maven.plugins maven-dependency-plugin - 3.1.1 + 3.6.0 embed-dependencies diff --git a/features/openhab-addons/pom.xml b/features/openhab-addons/pom.xml index bd017f73a8f..63e68fde40d 100644 --- a/features/openhab-addons/pom.xml +++ b/features/openhab-addons/pom.xml @@ -31,7 +31,7 @@ org.apache.maven.plugins maven-antrun-plugin - 1.8 + 3.1.0 false diff --git a/itests/pom.xml b/itests/pom.xml index 143badfebc6..297451c4681 100644 --- a/itests/pom.xml +++ b/itests/pom.xml @@ -82,7 +82,7 @@ org.apache.maven.plugins maven-dependency-plugin - 3.1.1 + 3.6.0 unpack-eea diff --git a/pom.xml b/pom.xml index 6ba04b81255..587a7716af0 100644 --- a/pom.xml +++ b/pom.xml @@ -77,7 +77,7 @@ 4.1.92.Final 3.14.9 0.15.0 - 2.37.0 + 2.38.0 4.25 4.21.0 @@ -292,13 +292,13 @@ Import-Package: \\ org.apache.maven.plugins maven-clean-plugin - 3.0.0 + 3.3.1 org.apache.maven.plugins maven-compiler-plugin - 3.10.1 + 3.11.0 eclipse @@ -330,19 +330,19 @@ Import-Package: \\ org.apache.maven.plugins maven-enforcer-plugin - 3.0.0-M2 + 3.4.0 org.apache.maven.plugins maven-install-plugin - 2.5.2 + 3.1.1 org.apache.maven.plugins maven-jar-plugin - 3.0.2 + 3.3.0 @@ -365,13 +365,13 @@ Import-Package: \\ org.apache.maven.plugins maven-plugin-plugin - 3.6.0 + 3.9.0 org.apache.maven.plugins maven-release-plugin - 2.5.2 + 3.0.1 clean install @@ -380,25 +380,25 @@ Import-Package: \\ org.apache.maven.plugins maven-resources-plugin - 3.0.2 + 3.3.1 org.apache.maven.plugins maven-site-plugin - 3.7.1 + 3.12.1 org.apache.maven.plugins maven-source-plugin - 3.0.1 + 3.3.0 org.apache.maven.plugins maven-surefire-plugin - 3.0.0 + 3.1.2 --add-opens java.base/java.lang=ALL-UNNAMED @@ -413,41 +413,46 @@ Import-Package: \\ org.codehaus.mojo build-helper-maven-plugin - 3.0.0 + 3.4.0 com.mycila license-maven-plugin - 3.0 + 4.2 ${basedir} -
licenses/epl-2.0/header.txt
false true true true + JAVADOC_STYLE xml-header-style - - licenses/epl-2.0/xml-header-style.xml - - - **/org/openhab/**/*.java - **/features/**/header.xml - - - **/3rdparty/** - target/** - **/pom.xml - _*.java - true 2023 UTF-8 + + +
licenses/epl-2.0/header.txt
+ + licenses/epl-2.0/xml-header-style.xml + + + **/org/openhab/**/*.java + **/features/**/header.xml + + + **/3rdparty/** + target/** + **/pom.xml + _*.java + +
+