From fb8eda5e784c5e9ee969d20ad894ebfb34b39114 Mon Sep 17 00:00:00 2001 From: Karl Heinz Marbaise Date: Tue, 14 Nov 2023 16:35:48 +0100 Subject: [PATCH 1/3] [MDEPLOY-313] - Upgrade maven-plugin parent to 41 --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index fc75b7c3..20137fd3 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ under the License. org.apache.maven.plugins maven-plugins - 39 + 41 @@ -77,7 +77,7 @@ under the License. 3.1.0 - 3.10.1 + 3.11.0 3.1.0 3.1.0 3.3.0 From a7f0b098ff75d40ea842f5fbb11783e4f7af4fff Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Tue, 28 Nov 2023 10:17:01 +0100 Subject: [PATCH 2/3] Add missing plexus-xml dependency --- pom.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pom.xml b/pom.xml index 20137fd3..bfff44c0 100644 --- a/pom.xml +++ b/pom.xml @@ -127,6 +127,10 @@ under the License. org.codehaus.plexus plexus-utils + + org.codehaus.plexus + plexus-xml + org.eclipse.aether aether-api From 0039189664dbabdd37751c48f3e3511bb00d2f18 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Tue, 28 Nov 2023 10:41:09 +0100 Subject: [PATCH 3/3] Fix groovy script --- src/it/MDEPLOY-178_deployfile-with-embedded-pom/verify.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/it/MDEPLOY-178_deployfile-with-embedded-pom/verify.groovy b/src/it/MDEPLOY-178_deployfile-with-embedded-pom/verify.groovy index 2b197b2d..181104aa 100644 --- a/src/it/MDEPLOY-178_deployfile-with-embedded-pom/verify.groovy +++ b/src/it/MDEPLOY-178_deployfile-with-embedded-pom/verify.groovy @@ -25,5 +25,5 @@ File buildLog = new File( basedir, 'build.log' ) assert buildLog.exists() assert buildLog.text.contains( "[DEBUG] Using META-INF/maven/org.apache.maven.plugins.deploy.its/mdeploy178/pom.xml as pomFile" ) -def pomProject = new XmlSlurper().parse( deployedPom ) -assert "https://issues.apache.org/jira/browse/MDEPLOY-178".equals( pomProject.url.text() ) \ No newline at end of file +def pomProject = new groovy.xml.XmlParser().parse( deployedPom ) +assert "https://issues.apache.org/jira/browse/MDEPLOY-178".equals( pomProject.get("url").text() ) \ No newline at end of file