[java-sig-commits] [Bug 977977] javapackages-tools: POM editing macros should preserve formatting of injected XML
bugzilla at redhat.com
bugzilla at redhat.com
Thu Sep 12 05:40:30 UTC 2013
https://bugzilla.redhat.com/show_bug.cgi?id=977977
--- Comment #2 from Mikolaj Izdebski <mizdebsk at redhat.com> ---
Verified in rawhide.
$ rpm -q javapackages-tools
javapackages-tools-3.0.3-1.fc21.noarch
$ cat pom.xml
<project>
<dependencies>
</dependencies>
</project>
$ (pom_add_dep foo:bar)
$ cat pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<dependencies>
<!-- begin of code added by maintainer -->
<dependency>
<groupId>foo</groupId>
<artifactId>bar</artifactId>
<version>any</version>
</dependency>
<!-- end of code added by maintainer -->
</dependencies>
</project>
--
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=UcKPvCiRdo&a=cc_unsubscribe
More information about the java-sig-commits
mailing list