You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Liu Jianhong (JIRA)" <ji...@apache.org> on 2012/06/03 02:19:22 UTC

[jira] [Created] (CAMEL-5325) camel-cxf-transport build failed using system encoding

Liu Jianhong created CAMEL-5325:
-----------------------------------

             Summary: camel-cxf-transport build failed using system encoding
                 Key: CAMEL-5325
                 URL: https://issues.apache.org/jira/browse/CAMEL-5325
             Project: Camel
          Issue Type: Bug
          Components: camel-cxf
         Environment: Windows 7 with chinese language
camel 2.10-SNAPSHOT
            Reporter: Liu Jianhong
             Fix For: 2.10.0


This bug is fixed as "https://issues.apache.org/jira/browse/CXF-2450", by adding 

<fork>always</fork>
<additionalJvmArgs>-Duser.language=en</additionalJvmArgs>

to cxf-codegen-plugin's configuration section.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-5325) camel-cxf-transport build failed using system encoding

Posted by "Liu Jianhong (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Liu Jianhong updated CAMEL-5325:
--------------------------------

    Component/s: camel-soap
                 camel-jmx
    
> camel-cxf-transport build failed using system encoding
> ------------------------------------------------------
>
>                 Key: CAMEL-5325
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5325
>             Project: Camel
>          Issue Type: Task
>          Components: build system, camel-cxf, camel-jmx, camel-soap
>         Environment: Windows 7 with chinese language
> camel 2.10-SNAPSHOT
>            Reporter: Liu Jianhong
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: pom.xml
>
>
> This bug is fixed as "https://issues.apache.org/jira/browse/CXF-2450", by adding 
> <fork>always</fork>
> <additionalJvmArgs>-Duser.language=en</additionalJvmArgs>
> to cxf-codegen-plugin's configuration section.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-5325) camel-cxf-transport build failed using system encoding

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288064#comment-13288064 ] 

Willem Jiang commented on CAMEL-5325:
-------------------------------------

What's the exception you got without applying the user.language property?
                
> camel-cxf-transport build failed using system encoding
> ------------------------------------------------------
>
>                 Key: CAMEL-5325
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5325
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>         Environment: Windows 7 with chinese language
> camel 2.10-SNAPSHOT
>            Reporter: Liu Jianhong
>             Fix For: 2.10.0
>
>         Attachments: pom.xml
>
>
> This bug is fixed as "https://issues.apache.org/jira/browse/CXF-2450", by adding 
> <fork>always</fork>
> <additionalJvmArgs>-Duser.language=en</additionalJvmArgs>
> to cxf-codegen-plugin's configuration section.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-5325) camel-cxf-transport build failed using system encoding

Posted by "Liu Jianhong (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Liu Jianhong updated CAMEL-5325:
--------------------------------

    Attachment: pom.xml

modified pom in camel-cxf-transport
                
> camel-cxf-transport build failed using system encoding
> ------------------------------------------------------
>
>                 Key: CAMEL-5325
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5325
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>         Environment: Windows 7 with chinese language
> camel 2.10-SNAPSHOT
>            Reporter: Liu Jianhong
>             Fix For: 2.10.0
>
>         Attachments: pom.xml
>
>
> This bug is fixed as "https://issues.apache.org/jira/browse/CXF-2450", by adding 
> <fork>always</fork>
> <additionalJvmArgs>-Duser.language=en</additionalJvmArgs>
> to cxf-codegen-plugin's configuration section.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-5325) camel-cxf-transport build failed using system encoding

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13393512#comment-13393512 ] 

Willem Jiang commented on CAMEL-5325:
-------------------------------------

@Jianhong,
I just committed a patch to replace the cxf-xjc-plugin with jaxb2-plugin.
Please checkout and build it in your box.

                
> camel-cxf-transport build failed using system encoding
> ------------------------------------------------------
>
>                 Key: CAMEL-5325
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5325
>             Project: Camel
>          Issue Type: Task
>          Components: build system, camel-cxf, camel-jmx, camel-soap
>         Environment: Windows 7 with chinese language
> camel 2.10-SNAPSHOT
>            Reporter: Liu Jianhong
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: pom.xml
>
>
> This bug is fixed as "https://issues.apache.org/jira/browse/CXF-2450", by adding 
> <fork>always</fork>
> <additionalJvmArgs>-Duser.language=en</additionalJvmArgs>
> to cxf-codegen-plugin's configuration section.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-5325) camel-cxf-transport build failed using system encoding

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295022#comment-13295022 ] 

Willem Jiang commented on CAMEL-5325:
-------------------------------------

@Jianhong
Can you try to build the latest camel trunk in you box?
I already committed a quick fix for it.
                
> camel-cxf-transport build failed using system encoding
> ------------------------------------------------------
>
>                 Key: CAMEL-5325
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5325
>             Project: Camel
>          Issue Type: Task
>          Components: build system, camel-cxf, camel-jmx, camel-soap
>         Environment: Windows 7 with chinese language
> camel 2.10-SNAPSHOT
>            Reporter: Liu Jianhong
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: pom.xml
>
>
> This bug is fixed as "https://issues.apache.org/jira/browse/CXF-2450", by adding 
> <fork>always</fork>
> <additionalJvmArgs>-Duser.language=en</additionalJvmArgs>
> to cxf-codegen-plugin's configuration section.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-5325) camel-cxf-transport build failed using system encoding

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-5325:
-------------------------------

    Component/s: build system
       Priority: Minor  (was: Major)
     Issue Type: Task  (was: Bug)
    
> camel-cxf-transport build failed using system encoding
> ------------------------------------------------------
>
>                 Key: CAMEL-5325
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5325
>             Project: Camel
>          Issue Type: Task
>          Components: build system, camel-cxf
>         Environment: Windows 7 with chinese language
> camel 2.10-SNAPSHOT
>            Reporter: Liu Jianhong
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: pom.xml
>
>
> This bug is fixed as "https://issues.apache.org/jira/browse/CXF-2450", by adding 
> <fork>always</fork>
> <additionalJvmArgs>-Duser.language=en</additionalJvmArgs>
> to cxf-codegen-plugin's configuration section.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-5325) camel-cxf-transport build failed using system encoding

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-5325.
---------------------------------

    Resolution: Fixed

Applied the patch into trunk.
                
> camel-cxf-transport build failed using system encoding
> ------------------------------------------------------
>
>                 Key: CAMEL-5325
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5325
>             Project: Camel
>          Issue Type: Task
>          Components: build system, camel-cxf, camel-jmx, camel-soap
>         Environment: Windows 7 with chinese language
> camel 2.10-SNAPSHOT
>            Reporter: Liu Jianhong
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: pom.xml
>
>
> This bug is fixed as "https://issues.apache.org/jira/browse/CXF-2450", by adding 
> <fork>always</fork>
> <additionalJvmArgs>-Duser.language=en</additionalJvmArgs>
> to cxf-codegen-plugin's configuration section.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-5325) camel-cxf-transport build failed using system encoding

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13291617#comment-13291617 ] 

Willem Jiang commented on CAMEL-5325:
-------------------------------------

@Jianghong,
Can you try to build latest camel trunk ?
I just upgrade the cxf version to 2.6.1, it should fix you issue without the work around.
Please double check it.
                
> camel-cxf-transport build failed using system encoding
> ------------------------------------------------------
>
>                 Key: CAMEL-5325
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5325
>             Project: Camel
>          Issue Type: Task
>          Components: build system, camel-cxf
>         Environment: Windows 7 with chinese language
> camel 2.10-SNAPSHOT
>            Reporter: Liu Jianhong
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: pom.xml
>
>
> This bug is fixed as "https://issues.apache.org/jira/browse/CXF-2450", by adding 
> <fork>always</fork>
> <additionalJvmArgs>-Duser.language=en</additionalJvmArgs>
> to cxf-codegen-plugin's configuration section.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-5325) camel-cxf-transport build failed using system encoding

Posted by "Liu Jianhong (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13291810#comment-13291810 ] 

Liu Jianhong commented on CAMEL-5325:
-------------------------------------

Component "camel-cxf" and "camel-cxf-transport" is OK.

but 
component "camel-jmx" has the following errors because it need to upgrade "maven-jaxb2-plugin" version to 0.8.1:


[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5:compile (default-compile) on project camel-jmx:
Compilation failure: Compilation failure:
[ERROR] D:\devstudio\soa\source\camel\components\camel-jmx\target\generated-sources\xjc\org\apache\camel\component\jmx\jaxb\TimerN
otification.java:[5,40] 错误: 编码UTF-8的不可映射字符
[ERROR] D:\devstudio\soa\source\camel\components\camel-jmx\target\generated-sources\xjc\org\apache\camel\component\jmx\jaxb\TimerN
otification.java:[5,41] 错误: 编码UTF-8的不可映射字符


component "camel-soap" also has similar error because "${cxf-xjc-utils-version}" value still is 2.6.0:


[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5:compile (default-compile) on project camel-soap:
 Compilation failure: Compilation failure:
[ERROR] D:\devstudio\soa\source\camel\components\camel-soap\target\generated\src\main\java\org\xmlsoap\schemas\soap\envelope\Fault
.java:[5,40] 错误: 编码UTF-8的不可映射字符
[ERROR] D:\devstudio\soa\source\camel\components\camel-soap\target\generated\src\main\java\org\xmlsoap\schemas\soap\envelope\Fault
.java:[5,41] 错误: 编码UTF-8的不可映射字符

                
> camel-cxf-transport build failed using system encoding
> ------------------------------------------------------
>
>                 Key: CAMEL-5325
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5325
>             Project: Camel
>          Issue Type: Task
>          Components: build system, camel-cxf
>         Environment: Windows 7 with chinese language
> camel 2.10-SNAPSHOT
>            Reporter: Liu Jianhong
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: pom.xml
>
>
> This bug is fixed as "https://issues.apache.org/jira/browse/CXF-2450", by adding 
> <fork>always</fork>
> <additionalJvmArgs>-Duser.language=en</additionalJvmArgs>
> to cxf-codegen-plugin's configuration section.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CAMEL-5325) camel-cxf-transport build failed using system encoding

Posted by "Liu Jianhong (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292292#comment-13292292 ] 

Liu Jianhong commented on CAMEL-5325:
-------------------------------------

Ok,already  filled , the Jira address is https://issues.apache.org/jira/browse/CXF-4369
                
> camel-cxf-transport build failed using system encoding
> ------------------------------------------------------
>
>                 Key: CAMEL-5325
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5325
>             Project: Camel
>          Issue Type: Task
>          Components: build system, camel-cxf, camel-jmx, camel-soap
>         Environment: Windows 7 with chinese language
> camel 2.10-SNAPSHOT
>            Reporter: Liu Jianhong
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: pom.xml
>
>
> This bug is fixed as "https://issues.apache.org/jira/browse/CXF-2450", by adding 
> <fork>always</fork>
> <additionalJvmArgs>-Duser.language=en</additionalJvmArgs>
> to cxf-codegen-plugin's configuration section.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-5325) camel-cxf-transport build failed using system encoding

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292280#comment-13292280 ] 

Willem Jiang commented on CAMEL-5325:
-------------------------------------

I think I can fix the issue of camel-jmx by upgrading the version.
But for the camel-soap, I think we still need to fix it from CXF side.

Do you mind to fill a JIRA in CXF for the xjc plugin?

I will try to use the maven-jaxb2-plugin to generate the code from soap.xsd, which could avoid the CXF side.

Willem
                
> camel-cxf-transport build failed using system encoding
> ------------------------------------------------------
>
>                 Key: CAMEL-5325
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5325
>             Project: Camel
>          Issue Type: Task
>          Components: build system, camel-cxf, camel-jmx, camel-soap
>         Environment: Windows 7 with chinese language
> camel 2.10-SNAPSHOT
>            Reporter: Liu Jianhong
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: pom.xml
>
>
> This bug is fixed as "https://issues.apache.org/jira/browse/CXF-2450", by adding 
> <fork>always</fork>
> <additionalJvmArgs>-Duser.language=en</additionalJvmArgs>
> to cxf-codegen-plugin's configuration section.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CAMEL-5325) camel-cxf-transport build failed using system encoding

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-5325:
----------------------------------

    Assignee: Willem Jiang
    
> camel-cxf-transport build failed using system encoding
> ------------------------------------------------------
>
>                 Key: CAMEL-5325
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5325
>             Project: Camel
>          Issue Type: Bug
>          Components: build system, camel-cxf
>         Environment: Windows 7 with chinese language
> camel 2.10-SNAPSHOT
>            Reporter: Liu Jianhong
>            Assignee: Willem Jiang
>             Fix For: 2.10.0
>
>         Attachments: pom.xml
>
>
> This bug is fixed as "https://issues.apache.org/jira/browse/CXF-2450", by adding 
> <fork>always</fork>
> <additionalJvmArgs>-Duser.language=en</additionalJvmArgs>
> to cxf-codegen-plugin's configuration section.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-5325) camel-cxf-transport build failed using system encoding

Posted by "Liu Jianhong (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295077#comment-13295077 ] 

Liu Jianhong commented on CAMEL-5325:
-------------------------------------

cxf-xjc-plugin is not updated to 2.6.1 version,and "-Duser.language=en" settings in cxf-xjc-plugin is not valid.

camel-soap component still has the following errors:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5:compile (default-compile) on project camel-soap:
 Compilation failure: Compilation failure:
[ERROR] D:\devstudio\soa\source\camel\components\camel-soap\target\generated\src\main\java\org\xmlsoap\schemas\soap\envelope\Fault
.java:[5,40] 错误: 编码UTF-8的不可映射字符
[ERROR] D:\devstudio\soa\source\camel\components\camel-soap\target\generated\src\main\java\org\xmlsoap\schemas\soap\envelope\Fault
.java:[5,41] 错误: 编码UTF-8的不可映射字符
                
> camel-cxf-transport build failed using system encoding
> ------------------------------------------------------
>
>                 Key: CAMEL-5325
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5325
>             Project: Camel
>          Issue Type: Task
>          Components: build system, camel-cxf, camel-jmx, camel-soap
>         Environment: Windows 7 with chinese language
> camel 2.10-SNAPSHOT
>            Reporter: Liu Jianhong
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: pom.xml
>
>
> This bug is fixed as "https://issues.apache.org/jira/browse/CXF-2450", by adding 
> <fork>always</fork>
> <additionalJvmArgs>-Duser.language=en</additionalJvmArgs>
> to cxf-codegen-plugin's configuration section.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CAMEL-5325) camel-cxf-transport build failed using system encoding

Posted by "Liu Jianhong (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13393557#comment-13393557 ] 

Liu Jianhong commented on CAMEL-5325:
-------------------------------------

Thank you very much.

Now camel-cxf,camel-cxf-transport, camel-jmx and camel-soap all build successfully without encoding error.
                
> camel-cxf-transport build failed using system encoding
> ------------------------------------------------------
>
>                 Key: CAMEL-5325
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5325
>             Project: Camel
>          Issue Type: Task
>          Components: build system, camel-cxf, camel-jmx, camel-soap
>         Environment: Windows 7 with chinese language
> camel 2.10-SNAPSHOT
>            Reporter: Liu Jianhong
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: pom.xml
>
>
> This bug is fixed as "https://issues.apache.org/jira/browse/CXF-2450", by adding 
> <fork>always</fork>
> <additionalJvmArgs>-Duser.language=en</additionalJvmArgs>
> to cxf-codegen-plugin's configuration section.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-5325) camel-cxf-transport build failed using system encoding

Posted by "Liu Jianhong (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288068#comment-13288068 ] 

Liu Jianhong commented on CAMEL-5325:
-------------------------------------

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5:compile (default-compile) on project camel-soap:
Compilation failure: Compilation failure:
[ERROR] D:\devstudio\soa\source\camel\components\camel-soap\target\generated\src\main\java\org\xmlsoap\schemas\soap\envelope\Fault.java:[5,40] 错误: 编码UTF-8的不可映射字符

With the similar error,the folowing components can not build:
camel-soap,camel-cxf,camel-cxf-transport,camel-jmx.

The above error is relative to those maven plugins:

cxf-xjc-plugin,

maven-jaxb2-plugin (need to upgrade to version 0.8.1,see http://java.net/jira/browse/MAVEN_JAXB2_PLUGIN-27 )

cxf-codegen-plugin(need set "user.language=en")
                
> camel-cxf-transport build failed using system encoding
> ------------------------------------------------------
>
>                 Key: CAMEL-5325
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5325
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>         Environment: Windows 7 with chinese language
> camel 2.10-SNAPSHOT
>            Reporter: Liu Jianhong
>             Fix For: 2.10.0
>
>         Attachments: pom.xml
>
>
> This bug is fixed as "https://issues.apache.org/jira/browse/CXF-2450", by adding 
> <fork>always</fork>
> <additionalJvmArgs>-Duser.language=en</additionalJvmArgs>
> to cxf-codegen-plugin's configuration section.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira