From e04e570268da703b3207014d7a900a101e36b48ecdf8180303a40b461787c823 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 15 May 2024 12:31:37 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/xmvn?expand=0&rev=94 --- xmvn-mojo.changes | 6 ++++++ xmvn-mojo.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/xmvn-mojo.changes b/xmvn-mojo.changes index 7c9aeb9..bfbb528 100644 --- a/xmvn-mojo.changes +++ b/xmvn-mojo.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 15 12:30:44 UTC 2024 - Fridrich Strba + +- Fix build with maven-plugin-plugin >= 3.11.0: define default + goalPrefix + ------------------------------------------------------------------- Tue Jan 30 09:25:00 UTC 2024 - Fridrich Strba diff --git a/xmvn-mojo.spec b/xmvn-mojo.spec index c18b5ba..698b850 100644 --- a/xmvn-mojo.spec +++ b/xmvn-mojo.spec @@ -99,6 +99,9 @@ find -name ResolverIntegrationTest.java -delete # Remove all dependencies with scope test, since a raw xmvn does not hide them %pom_remove_dep -r :::test: +%pom_xpath_inject "pom:project/pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-plugin-plugin']/pom:configuration" ' + xmvn-mojo' xmvn-mojo + pushd %{name} %{mvn_file} :{*} %{parent}/@1 popd