What version of the install plugin are you using? The localRepositoryPath option was introduced in version 2.2, could it be that you're using an older version? If so, try forcing to newer version!
/Anders On Fri, Oct 30, 2009 at 19:42, Hydock, Thomas [USA] <[email protected]>wrote: > I'm trying to install a JAR file to a custom local repository on my file > system. I am using the following command: > > mvn install:install-file > -Dfile=license.jar > -DgroupId=test.group > -DartifactId=license > -Dversion=1.2.3.4 > -Dpackaging=jar > -DlocalRepositoryPath=C:\temp > > > I would expect that the license.jar file would be installed to C:\temp, > however it gets installed to my default local Maven repository (C:\Documents > and Settings\...\.m2\repository). It's like the "localRepositoryPath" value > is being completely ignored. Am I doing something wrong? How can I install > an artifact to a custom location on my file system using mvn > install:install-file? > > Thank you. > > - T.C. >
