You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Davy Toch (JIRA)" <ji...@codehaus.org> on 2005/09/04 16:01:03 UTC

[jira] Commented: (MAVEN-1591) 'maven.repo.local' not honored by all

    [ http://jira.codehaus.org/browse/MAVEN-1591?page=comments#action_45800 ] 

Davy Toch commented on MAVEN-1591:
----------------------------------

I think it's best to override maven.repo.local it in ${user.home}/build.properties. In this case the problem you indicated doesn't appear.

On the other hand : is there a sense in overriding the default value of maven.repo.local in project.properties?
- if you have 20 Maven projects that have to use the same local repository, then you have to verify 20 times project.properties
- having several local Maven repositories on your machine seems pointless to me (it is only a local cache of what is available on the central repositories)



> 'maven.repo.local' not honored by all
> -------------------------------------
>
>          Key: MAVEN-1591
>          URL: http://jira.codehaus.org/browse/MAVEN-1591
>      Project: Maven
>         Type: Bug
>     Versions: 1.0.2
>  Environment: Windows XP SP2; Java 1.5.0_02; Maven 1.0.2
>     Reporter: Jamie Bisotti
>      Fix For: 1.1-beta-2

>
>
> 1. In project.properties file, set maven.repo.local=C:\blah\repository
> 2. Delete, completely, %HOMEDRIVE%%HOMEPATH%\.maven\repository, if it already exists
> 3. Run maven java:compile
> 4. I see where it downloads my project's dependencies, and places them in the appropriate local repository location (see maven.repo.local above)
> 5. However, it also downloads commons-lang, antlr & commons-jelly-tags-antlr, which I'm assuming Maven is using under the covers.  That wouldn't be a problem, except they are still being put in %HOMEDRIVE%%HOMEPATH%\.maven\repository.  Am I missing some other property, or is this a bug?

-- 
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