diff --git a/maven-plugins/maven-project-info-reports-plugin/pom.xml b/maven-plugins/maven-project-info-reports-plugin/pom.xml index 9afb84ca1e..eef204980d 100644 --- a/maven-plugins/maven-project-info-reports-plugin/pom.xml +++ b/maven-plugins/maven-project-info-reports-plugin/pom.xml @@ -88,24 +88,6 @@ 1.6 test - - org.apache.maven - maven-artifact-manager - 2.0-beta-1-SNAPSHOT - test - - - org.apache.maven - maven-core - 2.0-beta-1 - test - - - org.apache.maven.plugins - maven-site-plugin - 2.0-beta-3-SNAPSHOT - test - plexus plexus-i18n diff --git a/maven-plugins/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/AbstractMavenReportTestCase.java b/maven-plugins/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/AbstractMavenReportTestCase.java index ea9bd19cff..c62100c80e 100644 --- a/maven-plugins/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/AbstractMavenReportTestCase.java +++ b/maven-plugins/maven-project-info-reports-plugin/src/test/java/org/apache/maven/report/projectinfo/AbstractMavenReportTestCase.java @@ -16,12 +16,6 @@ package org.apache.maven.report.projectinfo; * limitations under the License. */ -import java.io.File; -import java.io.IOException; -import java.io.InputStream; -import java.util.Locale; - -import org.apache.maven.Maven; import org.apache.maven.profiles.DefaultProfileManager; import org.apache.maven.profiles.ProfileManager; import org.apache.maven.project.MavenProject; @@ -34,6 +28,11 @@ import org.codehaus.plexus.util.cli.CommandLineUtils; import org.codehaus.plexus.util.cli.Commandline; import org.codehaus.plexus.util.cli.DefaultConsumer; +import java.io.File; +import java.io.IOException; +import java.io.InputStream; +import java.util.Locale; + /** * An abstract TestCase class to test Maven Reports generated. * @@ -150,10 +149,10 @@ public abstract class AbstractMavenReportTestCase { File projectDir = getTestProjectDir( projectDirName ); - File pom = new File( projectDir, Maven.POMv4 ); + File pom = new File( projectDir, "pom.xml" ); if ( !pom.exists() ) { - throw new IllegalArgumentException( "No '" + Maven.POMv4 + "' file exists in the test project directory '" + throw new IllegalArgumentException( "No 'pom.xml' file exists in the test project directory '" + projectDir.getAbsolutePath() + "'" ); }