diff --git a/maven-repository-discovery/src/main/java/org/apache/maven/repository/discovery/DefaultArtifactDiscoverer.java b/maven-repository-discovery/src/main/java/org/apache/maven/repository/discovery/DefaultArtifactDiscoverer.java index 3b591e1d1..e5eb6a638 100644 --- a/maven-repository-discovery/src/main/java/org/apache/maven/repository/discovery/DefaultArtifactDiscoverer.java +++ b/maven-repository-discovery/src/main/java/org/apache/maven/repository/discovery/DefaultArtifactDiscoverer.java @@ -41,8 +41,6 @@ public class DefaultArtifactDiscoverer { private final static String POM = ".pom"; - private final static String DELIM = "\\"; - /** * @plexus.requirement */ @@ -105,7 +103,7 @@ public class DefaultArtifactDiscoverer } MavenXpp3Reader mavenReader = new MavenXpp3Reader(); - String filename = repositoryBase.getAbsolutePath() + DELIM + path; + String filename = repositoryBase.getAbsolutePath() + "/" + path; try { Model model = mavenReader.read( new FileReader( filename ) );