You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Pradeep Korapati <pr...@switchonline.co.za> on 2009/11/18 10:42:07 UTC

compiling axis 1.4 code using maven

Hi All,

 

We have created web service client application using axis2 1.4 to access
third party web service. In our application we are creating new  Thread
for each request which has to be send to third party web service. This
is working fine, but we are getting to many files open error(socket
connections ). We found that  patch AXIS2-2931 can fix this issue.  So
we have downloaded Axis2 1.4.1 code base  used the following command to
download it  

 

mvn install -DfailIfNoTests=false -Dtest=false.  With following
information in setting.xml file 

 

<settings>

  <localRepository>C:\Documents and
Settings\pradeep\.m2\repository</localRepository>

  <mirrors>

     <mirror>

       <id>java.net.2</id>

       <name>java.net Mirror of http://repo1.maven.org/maven2/</name>

       <url>http://download.java.net/maven/2/</url>

       <mirrorOf>java.net</mirrorOf>

     </mirror>

</mirrors>

</settings>

 

It throws an error saying 

 

 [INFO] Failed to resolve artifact.

Missing:

----------

1) commons-io:commons-io:jar:1.4

  Try downloading the file manually from the project website.

  Then, install it using the command:

      mvn install:install-file -DgroupId=commons-io
-DartifactId=commons-io -Dversion=1.4 -Dpackaging=jar
-Dfile=/path/to/file

 

So  I have downloaded this required jar file and pom file from
jarvana.com. and started the mvn install again now it given a different
error sating axiom-api jars not found. Please kindly help to run MVN
install properly. Is there any other mirrors or setting I am missing in
setting.xml file.

 

Regards

Pradeep


The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy any copies.