Author: krosenvold Date: Tue Oct 9 20:06:13 2012 New Revision: 1396271 URL: http://svn.apache.org/viewvc?rev=1396271&view=rev Log: o Commons io XmlReader deps
Modified: maven/plugin-testing/branches/plugin-testing-mvn-2.x/maven-plugin-testing-harness/pom.xml maven/plugin-testing/branches/plugin-testing-mvn-2.x/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/AbstractMojoTestCase.java Modified: maven/plugin-testing/branches/plugin-testing-mvn-2.x/maven-plugin-testing-harness/pom.xml URL: http://svn.apache.org/viewvc/maven/plugin-testing/branches/plugin-testing-mvn-2.x/maven-plugin-testing-harness/pom.xml?rev=1396271&r1=1396270&r2=1396271&view=diff ============================================================================== --- maven/plugin-testing/branches/plugin-testing-mvn-2.x/maven-plugin-testing-harness/pom.xml (original) +++ maven/plugin-testing/branches/plugin-testing-mvn-2.x/maven-plugin-testing-harness/pom.xml Tue Oct 9 20:06:13 2012 @@ -75,6 +75,11 @@ under the License. <artifactId>plexus-utils</artifactId> </dependency> <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>2.2</version> + </dependency> + <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-archiver</artifactId> </dependency> Modified: maven/plugin-testing/branches/plugin-testing-mvn-2.x/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/AbstractMojoTestCase.java URL: http://svn.apache.org/viewvc/maven/plugin-testing/branches/plugin-testing-mvn-2.x/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/AbstractMojoTestCase.java?rev=1396271&r1=1396270&r2=1396271&view=diff ============================================================================== --- maven/plugin-testing/branches/plugin-testing-mvn-2.x/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/AbstractMojoTestCase.java (original) +++ maven/plugin-testing/branches/plugin-testing-mvn-2.x/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/AbstractMojoTestCase.java Tue Oct 9 20:06:13 2012 @@ -19,6 +19,7 @@ package org.apache.maven.plugin.testing; * under the License. */ +import org.apache.commons.io.input.XmlStreamReader; import org.apache.maven.monitor.logging.DefaultLog; import org.apache.maven.plugin.Mojo; import org.apache.maven.plugin.logging.Log; @@ -118,7 +119,7 @@ public abstract class AbstractMojoTestCa Reader reader = null; try { - reader = ReaderFactory.newXmlReader( pluginPom ); + reader = new XmlStreamReader( pluginPom ); Xpp3Dom pluginPomDom = Xpp3DomBuilder.build( reader );