You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2009/12/27 22:14:56 UTC
[jira] Updated: (MNG-2580) UNC in MAVEN_HOME not working
[ http://jira.codehaus.org/browse/MNG-2580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason van Zyl updated MNG-2580:
-------------------------------
Fix Version/s: (was: 2.2.x)
3.0-alpha-7
Should be fixed. Validate.
> UNC in MAVEN_HOME not working
> -----------------------------
>
> Key: MNG-2580
> URL: http://jira.codehaus.org/browse/MNG-2580
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Command Line
> Affects Versions: 2.0.4
> Environment: Windows XP
> Reporter: Remy COQUEUGNIOT
> Priority: Blocker
> Fix For: 3.0-alpha-7
>
>
> Maven2 is installed in a corporate server : SERVER
> From my computer, this installation is accesible on a network share : \\SERVER\MAVEN2
> From a command line I setup MAVEN_HOME with this UNC:
> > set MAVEN_HOME=\\SERVER\MAVEN2
> And put it in the PATH
> > set PATH=%MAVEN_HOME%\bin;%PATH%
> When I try to build any projects, maven is unable to acces my global settings which is stored in %MAVEN_HOME%\conf\settings.xml
> But when I mount a network share to this UNC:
> > net use Z: \\SERVER\MAVEN2
> ...Setup MAVEN_HOME ...
> > set MAVEN_HOME=Z:\
> ...And put it in the PATH ...
> > set PATH=%MAVEN_HOME%\bin;%PATH%
> The global settings.xml is read.
> This useCase seems OK with Maven 1.
> mvn -X doesn't give too any informations about the final %MAVEN_HOME%\conf which is used.
> But it prints the plugin-registry.xml locations which are based on the %MAVEN_HOME%
> In this case \\SERVER\MAVEN2 is badly transformed in C:\SERVER\MAVEN2 :
> >set MAVEN_HOME=\\frmlefsi20\inet_dev\DEVPLATFORM\maven-2.0.4
> >mvn clean -X
> (...)
> [DEBUG] Building Maven global-level plugin registry from: 'C:\frmlefsi20\inet_dev\DEVPLATFORM\maven-2.0.4\bin\..\conf\plugin-registry.xml'
> (...)
> Thanks for your support and this great tool !
--
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