https://bugzilla.redhat.com/show_bug.cgi?id=998463
Bug ID: 998463 Summary: javapackages-tools: whitespace breaks XML node matching for pom macros Product: Fedora Version: 18 Component: javapackages-tools Assignee: msimacek@redhat.com Reporter: sochotni@redhat.com QA Contact: extras-qa@fedoraproject.org CC: java-sig-commits@lists.fedoraproject.org, mizdebsk@redhat.com, msrb@redhat.com, sochotni@redhat.com
Description of problem: When artifactId (or other node which is being matched) contains whitespace such as new line it will break XML node matching causing pom modification to fail.
Example snippet: <build> ... <plugins> ... <plugin> <artifactId>maven-compiler-plugin </artifactId> <!-- HERE --> <configuration> <source>1.4</source> <target>1.4</target> </configuration> </plugin ... </plugins> ... </build>
This example was taken from plexus-sec-dispatcher which currently suffers from this problem.