Thanks, repository path without file scheme works properly.

On Thu, Apr 18, 2013 at 9:57 PM, Wayne Fay <[email protected]> wrote:

> >> mvn install:install-file -Dfile=myjar.jar
> > -DlocalRepositoryPath="file:///Users/user/my_custom_repo"
> > -DgroupId=myGroupId     -DartifactId=myArtifactId
> -Dversion=0.0.1-SNAPSHOT
> > -Dpackaging=jar
> ...
> > But this artifact will be installed in
> > the
> /Users/user/.m2/repository/myGroupId/file:/my_custom_repo/myArtifactId
>
> Perhaps drop the file:// stuff and just specify ="/Users..."?
> Otherwise perhaps specify the alternate repo path in settings.xml,
> either your primary one or an alternative specificed with -s.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to