You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org> on 2005/10/05 20:43:11 UTC
[jira] Created: (MNG-1097) MavenEmbedder.getLocalRepositoryDirectory() return null after start()
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MNG-1097) MavenEmbedder.getLocalRepositoryDirectory() return null after start()
Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
[ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org