You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rémi Perrot (JIRA)" <ji...@codehaus.org> on 2009/11/26 12:45:55 UTC

[jira] Closed: (MINSTALL-71) localRepositoryPath ignored

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

Rémi Perrot closed MINSTALL-71.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3

I test with 2.3 version and it works as intended

> localRepositoryPath ignored
> ---------------------------
>
>                 Key: MINSTALL-71
>                 URL: http://jira.codehaus.org/browse/MINSTALL-71
>             Project: Maven 2.x Install Plugin
>          Issue Type: Bug
>          Components: install:install-file
>    Affects Versions: 2.2
>         Environment: Windows XP 
> Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_16
> Java home: C:\Program Files\Java\jdk1.6.0_16\jre
> Default locale: fr_FR, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Rémi Perrot
>             Fix For: 2.3
>
>
> Using CLI I want to install an artifact in an other repository than the on defined in my settings.xml. Here is the command line I use :
> mvn -X org.apache.maven.plugins:maven-install-plugin:2.2:install-file -DlocalRepositoryPath=D:\RPE_WS\fake_repo -Dfile=inst_test-0.0.1.jar -DpomFile=pom.xml -DcreateChecksum=true
> where D:\RPE_WS\fake_repo is an empty directory
> The last part of the output is:
> ...
> [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-install-plugin:2.2:inst
> all-file' -->
> [DEBUG]   (f) createChecksum = true
> [DEBUG]   (f) file = D:\RPE_WS\mvn_install_test\inst_test-0.0.1.jar
> [DEBUG]   (f) generatePom = false
> [DEBUG]   (f) localRepository = Repository[local|file://C:\Documents and Setting
> s\gt218354\.m2\repository]
> [DEBUG]   (s) localRepositoryPath = D:\RPE_WS\fake_repo
> [DEBUG]   (f) pomFile = D:\RPE_WS\mvn_install_test\pom.xml
> [DEBUG]   (f) repositoryLayout = default
> [DEBUG] -- end configuration --
> [INFO] [install:install-file {execution: default-cli}]
> [INFO] Installing D:\RPE_WS\mvn_install_test\inst_test-0.0.1.jar to C:\Documents
>  and Settings\userid\.m2\repository\com\plop\test\inst_test\0.0.1\inst_test-0
> .0.1.jar
> [INFO] Creating Checksums...
> [DEBUG] Installing checksum for C:\Documents and Settings\userid\.m2\repository\com\plop\test\inst_test\0.0.1\inst_test-0.0.1.jar
> [INFO] Installing D:\RPE_WS\mvn_install_test\pom.xml to C:\Documents and Setting
> s\userid\.m2\repository\com\plop\test\inst_test\0.0.1\inst_test-0.0.1.pom
> [INFO] Creating Checksums...
> [DEBUG] Installing checksum for C:\Documents and Settings\userid\.m2\repositor
> y\com\plop\test\inst_test\0.0.1\inst_test-0.0.1.pom
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Thu Nov 26 12:02:57 CET 2009
> [INFO] Final Memory: 3M/6M
> [INFO] ------------------------------------------------------------------------

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