maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Zapletnev <igor.zaplet...@gmail.com>
Subject Re: Install 3rd party jar manually
Date Thu, 18 Apr 2013 18:31:13 GMT
Thanks, repository path without file scheme works properly.


On Thu, Apr 18, 2013 at 9:57 PM, Wayne Fay <waynefay@gmail.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message