Java Mailing List Archive

http://www.java2.5341.com/

Home » axis-user.ws »

Trouble upgrading Maven pom from Axis2 1.4.1 to 1.5.1

Glen Mazza

2009-11-17

Replies: Find Java Web Hosting

Author LoginPost Reply

Hello, the pom.xml for the Axis2 SOAP client below works fine with
axis2.version property set to 1.4.1:
http://www.jroller.com/gmazza/entry/soap_client_with_axis2 (pom is under
Step #4)

I'm having trouble, however, upgrading it to either Axis2 1.5 or 1.5.1.
When I try axis2.version = 1.5.1, and run mvn clean install, I get the
following error:

[INFO] Internal error in the plugin manager executing goal
'org.apache.axis2:axi
s2-wsdl2code-maven-plugin:1.5.1:wsdl2code': Unable to load the mojo
'org.apache.
axis2:axis2-wsdl2code-maven-plugin:1.5.1:wsdl2code' in the plugin
'org.apache.ax
is2:axis2-wsdl2code-maven-plugin'. A required class is missing:
org/apache/axis2
/wsdl/codegen/CodeGenerationException
org.apache.axis2.wsdl.codegen.CodeGenerationException

Earlier in the Maven output I get other errors such as these:

C:\research\zipcode>mvn install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Sample SOAP Client
[INFO]   task-segment: [install]
[INFO]
------------------------------------------------------------------------
[WARNING] POM for 'org.apache.axis2:axis2-jaxbri:pom:1.5.1:compile' is
invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.axis2:axis2-codegen:pom:1.5.1:runtime' is
invalid.


Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.axis2:axis2-kernel:pom:1.5.1:runtime' is
invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.axis2:axis2-adb:pom:1.5.1:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.axis2:axis2-adb-codegen:pom:1.5.1:runtime' is
inva
lid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.axis2:axis2-java2wsdl:pom:1.5.1:runtime' is
invali
d.

...

Any clue what the problem might be?

Thanks,
Glen
--
Sent from the Axis - User mailing list archive at Nabble.com.

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.