Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8877A1107C for ; Thu, 31 Jul 2014 17:00:43 +0000 (UTC) Received: (qmail 59625 invoked by uid 500); 31 Jul 2014 17:00:42 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 59529 invoked by uid 500); 31 Jul 2014 17:00:42 -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 59207 invoked by uid 99); 31 Jul 2014 17:00:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jul 2014 17:00:42 +0000 Date: Thu, 31 Jul 2014 17:00:42 +0000 (UTC) From: "Ludovic Garcia (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CXF-5921) Using cxf-codegen-plugin and cxf-xjc-plugin along with commons-lang ToStringBuilder does not work properly with commons-lang3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-5921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ludovic Garcia updated CXF-5921: -------------------------------- Description: Hi, I am using the maven plugin cxf-codegen-plugin in order to generate java sources from wsdl. I tried to migrate from commons-lang 2.4 to commons-lang3 3.1, and I also raplaced the value for option -Xts:style: from : - org.apache.commons.lang.builder.ToStringStyle.SHORT_PREFIX_STYLE To : - org.apache.commons.lang3.builder.ToStringStyle.SHORT_PREFIX_STYLE But a small issue remained in the generated classes, indeed the import for the class ToStringStyle successfully changed to the appropriate package, but for the import of the class ToStringBuilder, the import is still the same : - org.apache.commons.lang.builder.ToStringBuilder instead of : - org.apache.commons.lang3.builder.ToStringBuilder Therefor resulting in a compilation failure was: Hi, I am using the maven plugin cxf-codegen-plugin in order to generate java sources from wsdl. I tried to migrate from commons-lang 2.4 to commons-lang3 3.1, and I also raplaced the value for option -Xts:style: from : - org.apache.commons.lang.builder.ToStringStyle.SHORT_PREFIX_STYLE To : - org.apache.commons.lang3.builder.ToStringStyle.SHORT_PREFIX_STYLE But a small issue remained in the generated classes, indeed the import for the class ToStringStyle successfully changed to the appropriate package, but for the import of the class ToStringBuilder, the import is still the same : org.apache.commons.lang.builder.ToStringBuilder instead of : org.apache.commons.lang3.builder.ToStringBuilder Therefor resulting in a compilation failure > Using cxf-codegen-plugin and cxf-xjc-plugin along with commons-lang ToStringBuilder does not work properly with commons-lang3 > ----------------------------------------------------------------------------------------------------------------------------- > > Key: CXF-5921 > URL: https://issues.apache.org/jira/browse/CXF-5921 > Project: CXF > Issue Type: Bug > Components: Build system > Affects Versions: 3.0.1 > Environment: Windows 7, maven 3.2.2, java 1.7.0_65 X64 > Reporter: Ludovic Garcia > Priority: Minor > Original Estimate: 1h > Remaining Estimate: 1h > > Hi, > I am using the maven plugin cxf-codegen-plugin in order to generate java sources from wsdl. > I tried to migrate from commons-lang 2.4 to commons-lang3 3.1, and I also raplaced the value for option -Xts:style: from : > - org.apache.commons.lang.builder.ToStringStyle.SHORT_PREFIX_STYLE > To : > - org.apache.commons.lang3.builder.ToStringStyle.SHORT_PREFIX_STYLE > But a small issue remained in the generated classes, indeed the import for the class ToStringStyle successfully changed to the appropriate package, but for the import of the class ToStringBuilder, the import is still the same : > - org.apache.commons.lang.builder.ToStringBuilder > instead of : > - org.apache.commons.lang3.builder.ToStringBuilder > Therefor resulting in a compilation failure -- This message was sent by Atlassian JIRA (v6.2#6252)