Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 23775 invoked from network); 19 May 2008 17:38:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 May 2008 17:38:19 -0000 Received: (qmail 49365 invoked by uid 500); 19 May 2008 17:38:20 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 49280 invoked by uid 500); 19 May 2008 17:38:20 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 49269 invoked by uid 99); 19 May 2008 17:38:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 May 2008 10:38:20 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 May 2008 17:37:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A4018234C118 for ; Mon, 19 May 2008 10:37:55 -0700 (PDT) Message-ID: <1338390588.1211218675670.JavaMail.jira@brutus> Date: Mon, 19 May 2008 10:37:55 -0700 (PDT) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Subject: [jira] Commented: (CXF-1593) cxf-codegen-plugin : wsdl2java does not take packagename argument into account In-Reply-To: <958068070.1211207695669.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-1593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12598012#action_12598012 ] Daniel Kulp commented on CXF-1593: ---------------------------------- OK. I can duplicate the problem and am working on a fix. There are two workarounds: 1) in the pom, add a configuration option like ${basedir}/src/dir/does/not/exist 2) Instead of configuring any wsdl related args in the pom, create a file: ${basedir}/src/main/resources/wsdl/my_simple_wsdl-options which is just a text file that would contains the options you want, like: -p com.something > cxf-codegen-plugin : wsdl2java does not take packagename argument into account > ------------------------------------------------------------------------------ > > Key: CXF-1593 > URL: https://issues.apache.org/jira/browse/CXF-1593 > Project: CXF > Issue Type: Bug > Components: WS-* Components > Affects Versions: 2.1, 2.0.6 > Reporter: meillaud > > When using the wsdl2java task of the Maven cxf-codegen-plugin, the argument packagename is not taken into account for the generated code. > In order to reproduce the bug, just create a simple maven project with only one WSDL, and try to generate java code through a maven codegen task : > > org.apache.cxf > cxf-codegen-plugin > ${cxf.version} > > > generate-sources > generate-sources > > ${basedir}/target/generated/ > > > ${basedir}/src/main/resources/wsdl/my_simple_wsdl.wsdl > > p > com.something.else > > > > > > wsdl2java > > > > > It seems to work only with cxf 2.0.2-incubator -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.