cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "maomaode (JIRA)" <>
Subject [jira] Commented: (CXF-1246) "mvn generate-sources" works with wsdl2java but not "mvn groupid:artifactid:version:goal"
Date Mon, 10 Dec 2007 07:43:43 GMT


maomaode commented on CXF-1246:


I've changed the code-gen plugin a little bit,  is it possible for you to review this change?

You can take a look at the systests/pom.xml, what we need is just specify


We don't need to list all the wsdl files in the wsdlOptions any more, (but the wsdlOptions
way still works.)

anyway, if it works for you , then I'll go through all the modules, and using this approach.
We should have very clean pom.xml at that time

> "mvn generate-sources" works with wsdl2java but not "mvn groupid:artifactid:version:goal"
> -----------------------------------------------------------------------------------------
>                 Key: CXF-1246
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>         Environment: Ubuntu Linux
>            Reporter: Glen Mazza
>            Assignee: maomaode
>            Priority: Minor
>         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.

View raw message