mirror of
https://github.com/apache/maven.git
synced 2025-02-22 01:45:37 +00:00
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:
parent
30e1d1f23f
commit
f915a32db4
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user