[ http://jira.codehaus.org/browse/MNG-1097?page=all ]
Jason van Zyl closed MNG-1097:
------------------------------
Resolution: Fixed
You can now use getLocalRepository() which will return an ArtifactRepository
object so that:
artifactRepository.getBasedir() will yield a usable result.
You can set a local repository directory or you can rely on the settings
builder to provide a default value of ~/.m2/repository
> MavenEmbedder.getLocalRepositoryDirectory() return null after start()
> ---------------------------------------------------------------------
>
> Key: MNG-1097
> URL: http://jira.codehaus.org/browse/MNG-1097
> Project: Maven 2
> Type: Bug
> Components: maven-embedder
> Reporter: Eugene Kuleshov
> Priority: Critical
>
>
> Method getLocalRepositoryDirectory() should allow to retrieve default locaion
> for local repository (probably eve without starting embedder).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]