[ https://issues.apache.org/jira/browse/MINSTALL-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965959#comment-17965959 ]
Olivier Lamy commented on MINSTALL-71: -------------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-install-plugin#253|https://github.com/apache/maven-install-plugin/issues/253]. > localRepositoryPath ignored > --------------------------- > > Key: MINSTALL-71 > URL: https://issues.apache.org/jira/browse/MINSTALL-71 > Project: Maven Install Plugin (Moved to GitHub Issues) > 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 > Priority: Major > 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 was sent by Atlassian Jira (v8.20.10#820010)