Sync from SUSE:SLFO:Main xmvn revision d2621330538968c6cc97975756a2e554

This commit is contained in:
Adrian Schröter 2024-05-31 15:05:50 +02:00
parent a54f0e495a
commit b4601a04f5
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 15 12:30:44 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Fix build with maven-plugin-plugin >= 3.11.0: define default
goalPrefix
-------------------------------------------------------------------
Tue Jan 30 09:25:00 UTC 2024 - Fridrich Strba <fstrba@suse.com>

View File

@ -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" '
<goalPrefix>xmvn-mojo</goalPrefix>' xmvn-mojo
pushd %{name}
%{mvn_file} :{*} %{parent}/@1
popd