Hi Rafal, It seems your POM is wrong
mvn install:install-file -DgroupId=apache-httpclient -DartifactId=commons- httpclient -Dversion=3.1 -Dpackaging=jar -Dfile=/path/to/file You can use: <groupId>commons-httpclient</ groupId> <artifactId>commons-httpclient</artifactId> <name>HttpClient</name> <version>3.0.1</version> 2011/4/7 Rafał Laczek <rafal_lac...@wp.pl> > Hi, > > When I try to build in Maven war file I get communicate about missing jar > file as follow. > This is not my project. I can see that this jar is added to class path. > I can try to add jar as it is mentioned in error communicate but I m not > sure in which place of project it should be added. > Have you maybe any advices? > > Missing: > ---------- > 1) apache-httpclient:commons-httpclient:jar:3.1 > Try downloading the file manually from the project website. > Then, install it using the command: > mvn install:install-file -DgroupId=apache-httpclient > -DartifactId=commons- > httpclient -Dversion=3.1 -Dpackaging=jar -Dfile=/path/to/file > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=apache-httpclient > -DartifactId=commons-ht > tpclient -Dversion=3.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -Dreposi > toryId=[id] > > > > > -- > You received this message because you are subscribed to the Google > Groups "Java EE (J2EE) Programming with Passion!" group. > To post to this group, send email to > java-ee-j2ee-programming-with-passion@googlegroups.com > To unsubscribe from this group, send email to > java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com > For more options, visit this group at > > http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en