Hi, If you don't mind please check out my blog in the following link, the post deal with just the same problem you encounter.
http://tony880042.blogspot.com/2009/02/how-to-add-thrid-party-jar-file-into.html Best regards, tony Su-10 wrote: > > Hi there, > When add a dependency of google blogger api(for example), > It seems can not download to local repository automatically. > Is there any way for not manually install? > Because it may has many .jar for manually install. > Please hint. > Thanks, > Maker Su > > // > gdata-blogger:gdata-blogger:jar:2.0 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=gdata-blogger > -DartifactId=gdata-blogger -Dversion=2.0 -Dpackaging=jar > -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=gdata-blogger > -DartifactId=gdata-blogger -Dversion=2.0 -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) com.wrmf:yuminsuout:war:1.0-SNAPSHOT > 2) gdata-blogger:gdata-blogger:jar:2.0 > > -- View this message in context: http://www.nabble.com/use-maven-but-not-manually-install--tp22429855s2369p22488963.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net