You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2008/01/23 10:02:19 UTC
install jar file
hi,
I use mvn install:install-file to install a jar file into my local
repository, it works, but every time when mvn is run, it always trying to
download the file, here is the message:
Downloading:
http://snapshots.repository.codehaus.org/org/sample/mm_functions/1.0/mm_functions-1.0.pom
Downloading:
http://maven.openqa.org//org/sample/mm_functions/1.0/mm_functions-1.0.pom
Downloading:
http://repo1.maven.org/maven2/org/sample/mm_functions/1.0/mm_functions-1.0.pom
how to disable this? thanks.
--
View this message in context: http://www.nabble.com/install-jar-file-tp15037368s177p15037368.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: install jar file
Posted by Angelo Chen <an...@yahoo.com.hk>.
Hi Nick,
Thanks for the fast answer, it works!
nicklist wrote:
>
> That is because you didn't install the pom file, but only the jar file.
> Try giving -DgeneratePom=true with the install:install-file command.
>
> Hth,
>
> Nick Stolwijk
>
>
>
--
View this message in context: http://www.nabble.com/install-jar-file-tp15037368s177p15038123.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: install jar file
Posted by ni...@planet.nl.
That is because you didn't install the pom file, but only the jar file. Try giving -DgeneratePom=true with the install:install-file command.
Hth,
Nick Stolwijk
-----Original Message-----
From: Angelo Chen [mailto:angelochen960@yahoo.com.hk]
Sent: Wed 1/23/2008 10:02 AM
To: users@maven.apache.org
Subject: install jar file
hi,
I use mvn install:install-file to install a jar file into my local
repository, it works, but every time when mvn is run, it always trying to
download the file, here is the message:
Downloading:
http://snapshots.repository.codehaus.org/org/sample/mm_functions/1.0/mm_functions-1.0.pom
Downloading:
http://maven.openqa.org//org/sample/mm_functions/1.0/mm_functions-1.0.pom
Downloading:
http://repo1.maven.org/maven2/org/sample/mm_functions/1.0/mm_functions-1.0.pom
how to disable this? thanks.
--
View this message in context: http://www.nabble.com/install-jar-file-tp15037368s177p15037368.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org