You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Ludovic Garcia (JIRA)" <ji...@apache.org> on 2014/07/31 19:00:42 UTC

[jira] [Updated] (CXF-5921) Using cxf-codegen-plugin and cxf-xjc-plugin along with commons-lang ToStringBuilder does not work properly with commons-lang3

     [ 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)