Accepting request 943065 from home:david.anes:branches:Java:packages

Fix wrong POM patching for 3.3.0, creating invalid XML that may break other packages

OBS-URL: https://build.opensuse.org/request/show/943065
OBS-URL: https://build.opensuse.org/package/show/Java:packages/cglib?expand=0&rev=29
This commit is contained in:
David Anes 2021-12-29 14:49:03 +00:00 committed by Git OBS Bridge
parent df700ea420
commit 14851782bb
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Dec 29 14:35:14 UTC 2021 - David Anes <david.anes@suse.com>
- Don't inject <optional>true</optional> in cglib pom, as 3.3.0
already provides that option and it makes the POM xml incorrect.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 27 14:36:52 UTC 2021 - David Anes <david.anes@suse.com> Mon Dec 27 14:36:52 UTC 2021 - David Anes <david.anes@suse.com>

View File

@ -79,8 +79,6 @@ runtime.
%pom_remove_plugin org.apache.maven.plugins:maven-jarsigner-plugin cglib-sample %pom_remove_plugin org.apache.maven.plugins:maven-jarsigner-plugin cglib-sample
%pom_remove_plugin -r :maven-javadoc-plugin %pom_remove_plugin -r :maven-javadoc-plugin
%pom_xpath_inject "pom:dependency[pom:artifactId='ant']" "<optional>true</optional>" cglib
%pom_remove_parent %pom_remove_parent
%build %build