o Fixed missing basedir alignment

git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@995446 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2010-09-09 14:35:48 +00:00
parent fd071c81a9
commit 59eaca8a41
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ public class InstallCustomMojo
* *
* @parameter expression="${install.localRepoDir}" * @parameter expression="${install.localRepoDir}"
*/ */
private String localRepoDir; private File localRepoDir;
/** /**
* Runs this mojo. * Runs this mojo.
@ -58,7 +58,7 @@ public class InstallCustomMojo
{ {
try try
{ {
String url = "file://" + new File( localRepoDir ).toURL().getPath(); String url = "file://" + localRepoDir.toURL().getPath();
localRepository = localRepository =
repositoryFactory.createArtifactRepository( localRepository.getId(), url, new CustomRepositoryLayout(), repositoryFactory.createArtifactRepository( localRepository.getId(), url, new CustomRepositoryLayout(),