[
https://issues.apache.org/jira/browse/CXF-3050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vincent Siveton closed CXF-3050.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.3.0
it is fixed in r997960 and now works with cxf 2.3.0 and maven 3.0
> java.lang.NoClassDefFoundError using Maven 3 and
> org.apache.cxf:cxf-java2ws-plugin:2.2.10:java2ws
> -------------------------------------------------------------------------------------------------
>
> Key: CXF-3050
> URL: https://issues.apache.org/jira/browse/CXF-3050
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.2.10
> Reporter: Vincent Siveton
> Priority: Blocker
> Fix For: 2.3.0
>
>
> Using Maven 2, the Java2WSMojo works fine but fails with Maven 3
> It seems that the Maven tag requiresDependencyResolution is missing
> Index: src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java
> ===================================================================
> --- src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java
> (revision 1005691)
> +++ src/main/java/org/apache/cxf/maven_plugin/Java2WSMojo.java
> (working copy)
> @@ -35,6 +35,7 @@
> /**
> * @goal java2ws
> * @description CXF Java To Webservice Tool
> + * @requiresDependencyResolution compile
> */
> public class Java2WSMojo extends AbstractMojo {
> /**
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.