o add a convenience method for the local repo path, the removal

of the properties broke a couple plugins using the local repo
  property so i'll use this instead.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163089 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2004-09-17 03:05:07 +00:00
parent 30e1d1f23f
commit f915a32db4

View File

@ -514,6 +514,11 @@ public List getRepositories()
return model.getRepositories();
}
public String getLocalRepositoryPath()
{
return getLocalRepository().getBasedir();
}
public ArtifactRepository getLocalRepository()
{
if ( wagonLocalRepository == null && model.getLocal() != null && model.getLocal().getRepository() != null )