mirror of https://github.com/apache/maven.git
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:
parent
fd071c81a9
commit
59eaca8a41
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue