Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 73825 invoked from network); 3 Dec 2007 03:54:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Dec 2007 03:54:06 -0000 Received: (qmail 64036 invoked by uid 500); 3 Dec 2007 03:53:54 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 64022 invoked by uid 500); 3 Dec 2007 03:53:54 -0000 Mailing-List: contact cxf-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-issues@incubator.apache.org Received: (qmail 64013 invoked by uid 99); 3 Dec 2007 03:53:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Dec 2007 19:53:54 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2007 03:54:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 24C4D7141EB for ; Sun, 2 Dec 2007 19:53:43 -0800 (PST) Message-ID: <27731337.1196654023147.JavaMail.jira@brutus> Date: Sun, 2 Dec 2007 19:53:43 -0800 (PST) From: "maomaode (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Commented: (CXF-1246) "mvn generate-sources" works with wsdl2java but not "mvn groupid:artifactid:version:goal" In-Reply-To: <27754462.1196540443042.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547722 ] maomaode commented on CXF-1246: ------------------------------- Probably adding /src/main/resources/wsdl and /src/test/main/resources/wsdl as well, does it make sense? Also, Is it ok mark the fix version to 2.1? > "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 > Environment: Ubuntu Linux > Reporter: Glen Mazza > 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.