Hello, I have set localRepository parameter in Maven_Home/conf/settings.xml. For install files, I use command mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging> Defaultly, the file will be install to local repository.
If I use command mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging> -DlocalRepository=<another-local-repository> I still install files to the local repo set in settings.xml, but the another-local-repository set in the upper command. -- View this message in context: http://www.nabble.com/Install-file-to-other-repositories--tf2249926.html#a6240205 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
