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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to