mirror of https://github.com/apache/archiva.git
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:
parent
ab1bc02dec
commit
5c88d781c0
|
@ -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 ) );
|
||||
|
|
Loading…
Reference in New Issue