[ 
https://issues.apache.org/jira/browse/CXF-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556076#action_12556076
 ] 

Daniel Kulp commented on CXF-1246:
----------------------------------


OK.  I've implemented pretty much all of this and got it merged onto 2.0.4.   
The only difference with 2.0.4 is that the wsdlRoot and testWsdlRoot defaults 
to "null" for 2.0.4, but defaults to the target/generated/src/main/java on 2.1.

Can you take a look to make sure it all looks OK?


> "mvn generate-sources" works with wsdl2java but not "mvn 
> groupid:artifactid:version:goal"
> -----------------------------------------------------------------------------------------
>
>                 Key: CXF-1246
>                 URL: https://issues.apache.org/jira/browse/CXF-1246
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.1
>         Environment: Ubuntu Linux
>            Reporter: Glen Mazza
>            Assignee: maomaode
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: hello_world.wsdl, pom.xml
>
>
> I'm trying to use Maven to run wsdl2java.  "mvn (phase name)" works fine in 
> generating the classes, but "mvn groupid:artifactid:[version:]goal" returns a 
> "Must specify wsdlOptions" error (even though wsdlOptions are specified).
> In particular, placing a hello_world.wsdl file in the src/wsdl directory of a 
> new project, and the attached pom.xml file:
> 1.) running "mvn generate-sources" has wsdl2java works fine -- artifacts are 
> created.
> 2.) "mvn org.apache.cxf:cxf-codegen-plugin:wsdl2java"
> or
> "mvn org.apache.cxf:cxf-codegen-plugin:2.0.3-incubator:wsdl2java",  *fails*, 
> nothing generated, it just returns the "Must specify wsdlOptions" error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to