i changed it, butstill does not work W dniu 20 kwietnia 2012 10:49 użytkownik martin.eisengardt <[email protected]> napisał: > Check the group id in the install-file command. > It should be the standard commons-httpclient so the group should be called > "commons-httpclient" too. > > 2012/4/20 Agata Chrobak <[email protected]> > >> W dniu 20 kwietnia 2012 09:26 użytkownik martin.eisengardt >> <[email protected]> napisał: >> > This one should be available in official maven repository (maven >> central): >> > http://mvnrepository.com/artifact/commons-httpclient/commons-httpclient >> >> thanks for quick replay >> ok, so i downloaded it from this location and put >> >> mvn install:install-file -Dfile=commons-httpclient-3.1.jar >> -Dversion=3.1 -Dpackaging=jar -DgroupId=com.cedarsoft.maven >> -DartifactId=commons-httpclient >> >> and i got the success, but when i want to do mvn install maven still >> looking for this site >> >> >> http://maven.cedarsoft.com/content/repositories/thirdparty/commons-httpclient/commons-httpclient/maven-metadata.xml >> >> what wrong i did? >> >> > >> > Generally spoken: If a maven repository is not available you cannot do >> > anything. >> > As long as you do not host a mirror or have downloaded it on any computer >> > the dependency will not be available. >> i get it.. >> > >> > For workarounds you should look if the dependency is available from >> another >> > location. If the project is available as download from elsewhere you can >> > choose to manually install it (see mvn install:install-file goal). >> > >> > >> > On Fri, Apr 20, 2012 at 9:08 AM, Agata Chrobak <[email protected]> >> wrote: >> > >> >> hi! >> >> >> >> i started work with maven like month ago, but still don't get it >> >> sometimes..:/ >> >> >> >> i have the following problem: i need to download repos form: >> >> >> >> >> >> >> http://maven.cedarsoft.com/content/repositories/thirdparty/commons-httpclient/commons-httpclient/maven-metadata.xml >> >> >> >> but it seems to unavailable - what to do in such a case? please help! >> >> i really need it today morning.. >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [email protected] >> >> For additional commands, e-mail: [email protected] >> >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >>
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
