diff --git a/maven-plugins/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/EclipsePluginTest.java b/maven-plugins/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/EclipsePluginTest.java index d0ded69f06..1cad7008d2 100644 --- a/maven-plugins/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/EclipsePluginTest.java +++ b/maven-plugins/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/EclipsePluginTest.java @@ -135,7 +135,7 @@ public class EclipsePluginTest // replace some vars in the expected line, to account // for absolute paths that are different on each installation. - expected = StringUtils.replace( expected, "${basedir}", basedir ); + expected = StringUtils.replace( expected, "${basedir}", basedir.replace( '\\', '/' ) ); if ( actualLines.size() < i ) { diff --git a/maven-plugins/maven-eclipse-plugin/src/test/projects/project-4/project b/maven-plugins/maven-eclipse-plugin/src/test/projects/project-4/project index 8c7600147d..c74783adcc 100644 --- a/maven-plugins/maven-eclipse-plugin/src/test/projects/project-4/project +++ b/maven-plugins/maven-eclipse-plugin/src/test/projects/project-4/project @@ -17,11 +17,6 @@ 1 ${basedir}/src/test/projects/project-4/project.xml - - src-main-java - 2 - ${basedir}/src/test/projects/project-4/src/main/java - src-test-resources 2 @@ -37,5 +32,10 @@ 2 ${basedir}/src/test/projects/project-4/src/main/resources + + src-main-java + 2 + ${basedir}/src/test/projects/project-4/src/main/java +