You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Arnaud Heritier (JIRA)" <ji...@codehaus.org> on 2008/03/05 15:18:28 UTC

[jira] Closed: (MECLIPSE-395) Plugin tests are failing due to a wrong local repository path.

     [ http://jira.codehaus.org/browse/MECLIPSE-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier closed MECLIPSE-395.
------------------------------------

         Assignee: Arnaud Heritier
       Resolution: Fixed
    Fix Version/s: 2.5

Fixed by passing new properties in surefire (org.apache.maven.global-settings and org.apache.maven.user-settings)

> Plugin tests are failing due to a wrong local repository path.
> --------------------------------------------------------------
>
>                 Key: MECLIPSE-395
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-395
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>    Affects Versions: 2.5
>            Reporter: Arnaud Heritier
>            Assignee: Arnaud Heritier
>             Fix For: 2.5
>
>
> In a corporate environment, we have the local repository not located in the standard location (${user.home}/.m2/repository).
> This is set in settings passed to maven with properties org.apache.maven.user-settings and org.apache.maven.global-settings (our settings are also not located in the standard locations ${user.home}/.m2/settings.xml and ${maven.home}/conf/settings.xml).
> Instead of using my local repository defined in our global settings, eclipse integration tests are using ${user.home}/.m2/repository, thus don't find dependencies. For example :
> {code}
> Error getting POM for ...
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   testing.mainLocalAsRemote (file:/C:/Documents and Settings/XXXX/.m2/repository)
> {code}

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