[jboss-user] [JBoss Web Services] - Maven plugin to execute wsconsume
Mylos Kathos
do-not-reply at jboss.com
Fri Jan 11 09:16:34 EST 2013
Mylos Kathos [https://community.jboss.org/people/mylos78] created the discussion
"Maven plugin to execute wsconsume"
To view the discussion, visit: https://community.jboss.org/message/790426#790426
--------------------------------------------------------------
Hello !
I need to generate Web Service artifacts for my WSClient. I've found a Maven plugin which could be used in replacement of wsconsume:
<plugin>
<groupId>org.jboss.ws.plugins</groupId>
<artifactId>maven-jaxws-tools-plugin</artifactId>
<version>1.0.0.GA</version>
<configuration>
<wsdls>
<wsdl> http://localhost:8080/webserviceapp/Booker?wsdl http://localhost:8080/webserviceapp/Booker?wsdl </wsdl>
</wsdls>
<targetPackage>foo.bar</targetPackage>
<extension>true</extension>
</configuration>
<executions>
<execution>
<goals>
<goal>wsconsume</goal>
</goals>
</execution>
....
</plugin>
When I launch maven:
mvn -Dgoal=wsconsume
I get the following error:
Downloading: http://repo1.maven.org/maven2/org/jboss/ws/plugins/maven-jaxws-tools-plugin/1.0.0.GA/maven-jaxws-tools-plugin-1.0.0.GA.pom http://repo1.maven.org/maven2/org/jboss/ws/plugins/maven-jaxws-tools-plugin/1.0.0.GA/maven-jaxws-tools-plugin-1.0.0.GA.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:21.252s
[INFO] Finished at: Fri Jan 11 15:10:13 CET 2013
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.jboss.ws.plugins:maven-jaxws-tools-plugin:1.0.0.GA or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.jboss.ws.plugins:maven-jaxws-tools-plugin:jar:1.0.0.GA: Could not transfer artifact org.jboss.ws.plugins:maven-jaxws-tools-plugin:pom:1.0.0.GA from/to central ( http://repo1.maven.org/maven2): http://repo1.maven.org/maven2): Connect times out -> [Help 1]
Do I need to point to another repository to get this working ?
Thanks
Mylos
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/790426#790426]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130111/519f134f/attachment.html
More information about the jboss-user
mailing list