Hello, I get several errors while using axis2-wsdl2code-maven-plugin, just one of them:
Downloading: http://ws.zones.apache.org/repository2/org/apache/axis2/axis2-xmlbeans/1.5.1/axis2-xmlbeans-1.5.1.pom [INFO] Unable to find resource 'org.apache.axis2:axis2-xmlbeans:pom:1.5.1' in repository apache-ws-snapshots2 (http://ws.zones.apache.org/repository2) Downloading: http://tomcat.apache.org/dev/dist/m2-repository/org/apache/axis2/axis2-xmlbeans/1.5.1/axis2-xmlbeans-1.5.1.pom [INFO] Unable to find resource 'org.apache.axis2:axis2-xmlbeans:pom:1.5.1' in repository tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository) Downloading: http://repo1.maven.org/eclipse/org/apache/axis2/axis2-xmlbeans/1.5.1/axis2-xmlbeans-1.5.1.pom [INFO] Unable to find resource 'org.apache.axis2:axis2-xmlbeans:pom:1.5.1' in repository eclipse-repo (http://repo1.maven.org/eclipse) Downloading: https://maven-repository.dev.java.net/nonav/repository//org.apache.axis2/poms/axis2-xmlbeans-1.5.1.pom 367b downloaded (axis2-xmlbeans-1.5.1.pom) [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'b44c461d6051ba2c4de115ff3f4f03ebb446353e'; remote = '<!DOCTYPE' - RETRYING Downloading: https://maven-repository.dev.java.net/nonav/repository//org.apache.axis2/poms/axis2-xmlbeans-1.5.1.pom 367b downloaded (axis2-xmlbeans-1.5.1.pom) [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'b44c461d6051ba2c4de115ff3f4f03ebb446353e'; remote = '<!DOCTYPE' - IGNORING [WARNING] POM for 'org.apache.axis2:axis2-xmlbeans:pom:1.5.1:runtime' is invalid. Its dependencies (if any) will NOT be available to the current build. I discovered that it occurs because several servers provide an html error message along with 301, like these: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>301 Moved Permanently</title> </head><body> <h1>Moved Permanently</h1> <p>The document has moved <a href="http://download.java.net/maven/1/org.apache.maven/poms/maven-plugin-api-2.0.7.pom">here</a>.</p> <hr> <address>Apache Server at maven-repository.dev.java.net Port 443</address> </body></html> That prevents me from using axis2-wsdl2code-maven-plugin. Do you know any workaround of this? My plugin configuration is: <plugin> <groupId>org.apache.axis2</groupId> <artifactId>axis2-wsdl2code-maven-plugin</artifactId> <configuration> <wsdlFile>partner.wsdl</wsdlFile> <outputDirectory>src</outputDirectory> <packageName>org.apatar.salesforce-api</packageName> </configuration> <executions> <execution> <goals> <goal>wsdl2code</goal> </goals> </execution> </executions> </plugin> ----- Best regards, Dzmitry Lazerka, Altoros Systems +375 (29) 502-9579 dzmitry.laze...@altoros.com