Fridrich Strba 2024-05-15 12:31:37 +00:00 committed by Git OBS Bridge
parent ad9f13e1d7
commit e04e570268
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