https://bugzilla.redhat.com/show_bug.cgi?id=977975
Bug ID: 977975
Summary: javapackages-tools: Improve adding POM dependencies
and plugins
Product: Fedora
Version: rawhide
Component: javapackages-tools
Keywords: FutureFeature, Triaged
Severity: unspecified
Priority: medium
Assignee: mizdebsk(a)redhat.com
Reporter: mizdebsk(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
mizdebsk(a)redhat.com, msrb(a)redhat.com,
sochotni(a)redhat.com, tradej(a)redhat.com
Description of problem:
Macros that add new dependencies or plugins should add parent XML node if it's
missing.
For example, currently %pom_add_dep fails to add a dependency if the POM
doesn't have <dependencies> node -- empty "<dependencies/>" node
needs to be
injected prior to adding dependency:
%pom_xpath_inject pom:project "<dependencies/>"
%pom_add_dep foo:bar
The same applies to adding plugins.
Version-Release number of selected component (if applicable):
0.15.0-1
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=aMxBVFq6jG&a=cc_unsubscribe