Re: jaxws-maven-plugin : Failed to execute wsgen
I have got the same problem when trying to execute wsgen from Netbeans 6.1 with maven. Here is the stack trace from maven : [jaxws:wsgen] [ERROR]The following mojo encountered an error while executing: [ERROR]Group-Id: org.codehaus.mojo [ERROR]Artifact-Id: jaxws-maven-plugin [ERROR]Version: 1.10 [ERROR]Mojo: wsgen [ERROR]brought in via: POM [ERROR]While building project: [ERROR]Group-Id: com.example.maven.jaxws [ERROR]Artifact-Id: helloservice [ERROR]Version: 1.0-SNAPSHOT [ERROR]From file: D:\...\jaxws-maven-sample\helloservice\pom.xml [ERROR]Reason: Failed to execute wsgen I was doing the tutorial from http://java.sun.com/mailers/techtips/enterprise/2008/TechTips_Jan08.html Using JAX-WS with Maven thomas2004 wrote: Hi all, I use Eclipse 3.4 and has maven2 plugin installed. As I run mvn package in Eclipse with following pom.xml, I got following error: [ERROR] The following mojo encountered an error while executing: Group-Id: org.codehaus.mojo Artifact-Id: jaxws-maven-plugin Version: 1.10 Mojo: wsgen brought in via: POM While building project: Group-Id: com.test.jax.ws Artifact-Id: TestJaxWs Version: 1.0-SNAPSHOT From file: C:\Project\TestJaxWs\pom.xml Reason: Failed to execute wsgen But as I run in cmd-console, it is successful. Why? Here is my pom.xml: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdcom.test.jax.ws/groupId artifactIdTestJaxWs/artifactId packagingwar/packaging version1.0-SNAPSHOT/version nameTestJaxWs Maven Webapp/name urlhttp://maven.apache.org/url dependencies !-- Testing -- dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency !-- Runtime -- dependency groupIdlocal.sun.java.net/groupId artifactIdjaxws-ri/artifactId version2.1-EA3-SNAPSHOT/version typepom/type /dependency /dependencies pluginRepositories pluginRepository idmaven2-repository.dev.java.net/id urlhttp://download.java.net/maven/2//url /pluginRepository /pluginRepositories build finalNameTestJaxWs/finalName plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdjaxws-maven-plugin/artifactId executions execution goals goalwsgen/goal /goals configuration seicom.test.ws.services.AddNumbersImpl/sei !--for demo purpose only, the webapp does not-- !--need the generated wsdl files-- genWsdltrue/genWsdl keeptrue/keep /configuration /execution /executions /plugin plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target /configuration /plugin /plugins /build /project -- View this message in context: http://www.nabble.com/jaxws-maven-plugin-%3A-Failed-to-execute-wsgen-tp20470612p20556181.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jaxws-maven-plugin : Failed to execute wsgen
I have got the same problem when trying to execute wsgen from Netbeans 6.1 with maven. Here is the stack trace from maven : [jaxws:wsgen] [ERROR]The following mojo encountered an error while executing: [ERROR]Group-Id: org.codehaus.mojo [ERROR]Artifact-Id: jaxws-maven-plugin [ERROR]Version: 1.10 [ERROR]Mojo: wsgen [ERROR]brought in via: POM [ERROR]While building project: [ERROR]Group-Id: com.example.maven.jaxws [ERROR]Artifact-Id: helloservice [ERROR]Version: 1.0-SNAPSHOT [ERROR]From file: D:\...\jaxws-maven-sample\helloservice\pom.xml [ERROR]Reason: Failed to execute wsgen I was doing the tutorial from http://java.sun.com/mailers/techtips/enterprise/2008/TechTips_Jan08.html Using JAX-WS with Maven thomas2004 wrote: Hi all, I use Eclipse 3.4 and has maven2 plugin installed. As I run mvn package in Eclipse with following pom.xml, I got following error: [ERROR] The following mojo encountered an error while executing: Group-Id: org.codehaus.mojo Artifact-Id: jaxws-maven-plugin Version: 1.10 Mojo: wsgen brought in via: POM While building project: Group-Id: com.test.jax.ws Artifact-Id: TestJaxWs Version: 1.0-SNAPSHOT From file: C:\Project\TestJaxWs\pom.xml Reason: Failed to execute wsgen But as I run in cmd-console, it is successful. Why? Here is my pom.xml: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdcom.test.jax.ws/groupId artifactIdTestJaxWs/artifactId packagingwar/packaging version1.0-SNAPSHOT/version nameTestJaxWs Maven Webapp/name urlhttp://maven.apache.org/url dependencies !-- Testing -- dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency !-- Runtime -- dependency groupIdlocal.sun.java.net/groupId artifactIdjaxws-ri/artifactId version2.1-EA3-SNAPSHOT/version typepom/type /dependency /dependencies pluginRepositories pluginRepository idmaven2-repository.dev.java.net/id urlhttp://download.java.net/maven/2//url /pluginRepository /pluginRepositories build finalNameTestJaxWs/finalName plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdjaxws-maven-plugin/artifactId executions execution goals goalwsgen/goal /goals configuration seicom.test.ws.services.AddNumbersImpl/sei !--for demo purpose only, the webapp does not-- !--need the generated wsdl files-- genWsdltrue/genWsdl keeptrue/keep /configuration /execution /executions /plugin plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target /configuration /plugin /plugins /build /project -- View this message in context: http://www.nabble.com/jaxws-maven-plugin-%3A-Failed-to-execute-wsgen-tp20470612p20556227.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jaxws-maven-plugin : Failed to execute wsgen
Not sure about eclipse, but the netbeans issue could be caused by the fact that the default build execution means in 6.1 was internal embedded maven. You had to explicitly mark that you want the project (or all projects) build with external maven. the embedded maven used is not 100% compatible with the 2.0.9 bits and many plugins don't cope with embedded builds well. Therefore in netbeans 6.5, we strive to find the default command line maven and use it if found on PATH. That shall reduce the likelihood of using the embedded maven for building (still used for project loading in the IDE) Regards Milos On Tue, Nov 18, 2008 at 10:34 AM, bakann [EMAIL PROTECTED] wrote: I have got the same problem when trying to execute wsgen from Netbeans 6.1 with maven. Here is the stack trace from maven : [jaxws:wsgen] [ERROR]The following mojo encountered an error while executing: [ERROR]Group-Id: org.codehaus.mojo [ERROR]Artifact-Id: jaxws-maven-plugin [ERROR]Version: 1.10 [ERROR]Mojo: wsgen [ERROR]brought in via: POM [ERROR]While building project: [ERROR]Group-Id: com.example.maven.jaxws [ERROR]Artifact-Id: helloservice [ERROR]Version: 1.0-SNAPSHOT [ERROR]From file: D:\...\jaxws-maven-sample\helloservice\pom.xml [ERROR]Reason: Failed to execute wsgen I was doing the tutorial from http://java.sun.com/mailers/techtips/enterprise/2008/TechTips_Jan08.html Using JAX-WS with Maven thomas2004 wrote: Hi all, I use Eclipse 3.4 and has maven2 plugin installed. As I run mvn package in Eclipse with following pom.xml, I got following error: [ERROR] The following mojo encountered an error while executing: Group-Id: org.codehaus.mojo Artifact-Id: jaxws-maven-plugin Version: 1.10 Mojo: wsgen brought in via: POM While building project: Group-Id: com.test.jax.ws Artifact-Id: TestJaxWs Version: 1.0-SNAPSHOT From file: C:\Project\TestJaxWs\pom.xml Reason: Failed to execute wsgen But as I run in cmd-console, it is successful. Why? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
jaxws-maven-plugin : Failed to execute wsgen
Hi all, I use Eclipse 3.4 and has maven2 plugin installed. As I run mvn package in Eclipse with following pom.xml, I got following error: [ERROR] The following mojo encountered an error while executing: Group-Id: org.codehaus.mojo Artifact-Id: jaxws-maven-plugin Version: 1.10 Mojo: wsgen brought in via: POM While building project: Group-Id: com.weichen.jax.ws Artifact-Id: TestJaxWs Version: 1.0-SNAPSHOT From file: C:\Project\TestJaxWs\pom.xml Reason: Failed to execute wsgen But as I run in cmd-console, it is successful. Why? -- View this message in context: http://www.nabble.com/jaxws-maven-plugin-%3A-Failed-to-execute-wsgen-tp20470612p20470612.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]