make code portable

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@385959 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2006-03-15 03:17:24 +00:00
parent ab1bc02dec
commit 5c88d781c0
1 changed files with 1 additions and 3 deletions

View File

@ -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 ) );