As was highlighted before in these threads, this is a completely
different 2.1.0 to the one previously included in m2eclipse (it never
has been included):
http://www.sonatype.com/people/2008/11/a-visual-history-of-maven-2/
- Brett
On 18/02/2009, at 10:32 PM, Henri Gomez wrote:
2009/2/18 Brett Porter <br...@apache.org>:
On 18/02/2009, at 7:43 PM, Henri Gomez wrote:
Question about 2.1.0 / 3.0.0.
In 3.0 alpha2 Jason fix a problem with jaxws-maven.
Could it be backported to 2.1.0 ?
I believe that problem doesn't affect 2.1.0.
Nope, the jaxws maven plugin didn't works with maven 2.1.0 (at least
the version in m2eclipse 0.9.7) :(
The following mojo encountered an error while executing:
Group-Id: org.codehaus.mojo
Artifact-Id: jaxws-maven-plugin
Version: 1.11
Mojo: wsgen
brought in via: POM
While building project:
Group-Id: mycorp.can
Artifact-Id: mycorp-framework
Version: 2.0.0-19-SNAPSHOT
From file: C:\workspace-34\mycorp-framework\pom.xml
Reason: Failed to execute wsgen
java.lang.NoClassDefFoundError: com/sun/mirror/apt/
AnnotationProcessorFactory
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org
.codehaus
.plexus.classworlds.realm.ClassRealm.loadRealmClass(ClassRealm.java:
174)
at
org
.codehaus
.plexus
.classworlds.strategy.DefaultStrategy.loadClass(DefaultStrategy.java:
67)
at
org
.codehaus
.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:201)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at com.sun.tools.ws.WsGen.doMain(WsGen.java:69)
at
org
.codehaus
.mojo.jaxws.AbstractWsGenMojo.execute(AbstractWsGenMojo.java:97)
at
org
.apache
.maven
.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
579)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeTaskSegments(DefaultLifecycleExecutor.java:191)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
at
org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:
223)
at
org
.apache
.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
at
org
.apache
.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:
904)
at
org
.apache
.maven
.embedder
.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
at
org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect
.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun
.reflect
.DelegatingMethodAccessorImpl
.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org
.codehaus
.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:
289)
at
org
.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:
229)
at
org
.codehaus
.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:
408)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
351)
at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
Error stacktrace:
org.apache.maven.lifecycle.LifecycleExecutionException: Internal error
in the plugin manager executing goal
'org.codehaus.mojo:jaxws-maven-plugin:1.11:wsgen': Mojo execution
failed.
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:505)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeTaskSegments(DefaultLifecycleExecutor.java:191)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
at
org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:
223)
at
org
.apache
.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
at
org
.apache
.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:
904)
at
org
.apache
.maven
.embedder
.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
at
org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect
.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun
.reflect
.DelegatingMethodAccessorImpl
.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org
.codehaus
.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:
289)
at
org
.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:
229)
at
org
.codehaus
.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:
408)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
351)
at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
Caused by: org.apache.maven.plugin.PluginExecutionException: Mojo
execution failed.
at
org
.apache
.maven
.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
601)
at
org
.apache
.maven
.lifecycle
.DefaultLifecycleExecutor
.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
... 20 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to
execute wsgen
at
org
.codehaus
.mojo.jaxws.AbstractWsGenMojo.execute(AbstractWsGenMojo.java:102)
at
org
.apache
.maven
.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
579)
... 21 more
Caused by: java.lang.NoClassDefFoundError:
com/sun/mirror/apt/AnnotationProcessorFactory
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org
.codehaus
.plexus.classworlds.realm.ClassRealm.loadRealmClass(ClassRealm.java:
174)
at
org
.codehaus
.plexus
.classworlds.strategy.DefaultStrategy.loadClass(DefaultStrategy.java:
67)
at
org
.codehaus
.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:201)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at com.sun.tools.ws.WsGen.doMain(WsGen.java:69)
at
org
.codehaus
.mojo.jaxws.AbstractWsGenMojo.execute(AbstractWsGenMojo.java:97)
... 22 more
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org
--
Brett Porter
br...@apache.org
http://blogs.exist.com/bporter/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org