[jira] Created: (CAMEL-884) exception when cxf-codegen and camel used in the same maven project

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (CAMEL-884) exception when cxf-codegen and camel used in the same maven project

JIRA jira@apache.org
exception when cxf-codegen and camel used in the same maven project
-------------------------------------------------------------------

                 Key: CAMEL-884
                 URL: https://issues.apache.org/activemq/browse/CAMEL-884
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-cxf
    Affects Versions: 1.4.0
         Environment: Maven version: 2.0.9
Java version: 1.5.0_15
OS name: "linux" version: "2.6.24-19-generic" arch: "i386" Family: "unix"
            Reporter: Pawel Jasinski
            Priority: Minor
         Attachments: exception.log, pom.xml, pom.xml.nocamel

the exception (WARNING level) comes in the project where camel and cxf are together.
When the camel references are removed, the exception disappear.
The actual stubs are generated.



--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-884) exception when cxf-codegen and camel used in the same maven project

JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45600#action_45600 ]

Willem Jiang commented on CAMEL-884:
------------------------------------

Hi Pawel,

I just checked your pom.xml, you add some cxf modules which will introduce the Spring modules 2.0.8 dependencies.
You can specify the Spring modules dependencies in your pom like this , if you don't want to remove the cxf additional modules.
{code}
   <dependency>
       <groupId>org.springframework</groupId>
       <artifactId>spring-core</artifactId>
       <version>${spring-version}</version>
    </dependency>

    <dependency>
       <groupId>org.springframework</groupId>
       <artifactId>spring-beans</artifactId>
       <version>${spring-version}</version>
     </dependency>

    <dependency>
       <groupId>org.springframework</groupId>
       <artifactId>spring-context</artifactId>
       <version>${spring-version}</version>
     </dependency>

    <dependency>
       <groupId>org.springframework</groupId>
       <artifactId>spring-web</artifactId>
       <version>${spring-version}</version>
     </dependency>
{code}

Please let me know if you have any further questions.

Willem

> exception when cxf-codegen and camel used in the same maven project
> -------------------------------------------------------------------
>
>                 Key: CAMEL-884
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-884
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 1.4.0
>         Environment: Maven version: 2.0.9
> Java version: 1.5.0_15
> OS name: "linux" version: "2.6.24-19-generic" arch: "i386" Family: "unix"
>            Reporter: Pawel Jasinski
>            Priority: Minor
>         Attachments: exception.log, pom.xml, pom.xml.nocamel
>
>
> the exception (WARNING level) comes in the project where camel and cxf are together.
> When the camel references are removed, the exception disappear.
> The actual stubs are generated.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-884) exception when cxf-codegen and camel used in the same maven project

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45741#action_45741 ]

Claus Ibsen commented on CAMEL-884:
-----------------------------------

Pawel. Can this ticket be closed, as its a bug in CXF?

> exception when cxf-codegen and camel used in the same maven project
> -------------------------------------------------------------------
>
>                 Key: CAMEL-884
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-884
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 1.4.0
>         Environment: Maven version: 2.0.9
> Java version: 1.5.0_15
> OS name: "linux" version: "2.6.24-19-generic" arch: "i386" Family: "unix"
>            Reporter: Pawel Jasinski
>            Priority: Minor
>         Attachments: exception.log, pom.xml, pom.xml.nocamel
>
>
> the exception (WARNING level) comes in the project where camel and cxf are together.
> When the camel references are removed, the exception disappear.
> The actual stubs are generated.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-884) exception when cxf-codegen and camel used in the same maven project

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45740#action_45740 ]

Claus Ibsen commented on CAMEL-884:
-----------------------------------

Willem pointed out that my pom had some explicit references to wrong cxf version and this caused the exception.
In a mean time I received confirmation that current version of cxf-codegen has a problem passing the additional arguments (it will be fixed in 2.1.3)

http://www.nabble.com/maven-cxf-codegen-plugin---wsdl2java-lost-arguments-td19391891.html#a19441616
http://www.nabble.com/maven-cxf-codegen-plugin---wsdl2java-lost-arguments-td19391891.html#a19441616 

Pawel


> exception when cxf-codegen and camel used in the same maven project
> -------------------------------------------------------------------
>
>                 Key: CAMEL-884
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-884
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 1.4.0
>         Environment: Maven version: 2.0.9
> Java version: 1.5.0_15
> OS name: "linux" version: "2.6.24-19-generic" arch: "i386" Family: "unix"
>            Reporter: Pawel Jasinski
>            Priority: Minor
>         Attachments: exception.log, pom.xml, pom.xml.nocamel
>
>
> the exception (WARNING level) comes in the project where camel and cxf are together.
> When the camel references are removed, the exception disappear.
> The actual stubs are generated.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-884) exception when cxf-codegen and camel used in the same maven project

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45745#action_45745 ]

Pawel Jasinski commented on CAMEL-884:
--------------------------------------

yes
sorry for the confusion.
Pawel




--
pj


> exception when cxf-codegen and camel used in the same maven project
> -------------------------------------------------------------------
>
>                 Key: CAMEL-884
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-884
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 1.4.0
>         Environment: Maven version: 2.0.9
> Java version: 1.5.0_15
> OS name: "linux" version: "2.6.24-19-generic" arch: "i386" Family: "unix"
>            Reporter: Pawel Jasinski
>            Priority: Minor
>         Attachments: exception.log, pom.xml, pom.xml.nocamel
>
>
> the exception (WARNING level) comes in the project where camel and cxf are together.
> When the camel references are removed, the exception disappear.
> The actual stubs are generated.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (CAMEL-884) exception when cxf-codegen and camel used in the same maven project

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/activemq/browse/CAMEL-884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-884.
-------------------------------

    Resolution: Won't Fix

Not a bug in Camel.

> exception when cxf-codegen and camel used in the same maven project
> -------------------------------------------------------------------
>
>                 Key: CAMEL-884
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-884
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 1.4.0
>         Environment: Maven version: 2.0.9
> Java version: 1.5.0_15
> OS name: "linux" version: "2.6.24-19-generic" arch: "i386" Family: "unix"
>            Reporter: Pawel Jasinski
>            Priority: Minor
>         Attachments: exception.log, pom.xml, pom.xml.nocamel
>
>
> the exception (WARNING level) comes in the project where camel and cxf are together.
> When the camel references are removed, the exception disappear.
> The actual stubs are generated.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (CAMEL-884) exception when cxf-codegen and camel used in the same maven project

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/activemq/browse/CAMEL-884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hadrian Zbarcea updated CAMEL-884:
----------------------------------

    Fix Version/s: 1.5.0

> exception when cxf-codegen and camel used in the same maven project
> -------------------------------------------------------------------
>
>                 Key: CAMEL-884
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-884
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 1.4.0
>         Environment: Maven version: 2.0.9
> Java version: 1.5.0_15
> OS name: "linux" version: "2.6.24-19-generic" arch: "i386" Family: "unix"
>            Reporter: Pawel Jasinski
>            Priority: Minor
>             Fix For: 1.5.0
>
>         Attachments: exception.log, pom.xml, pom.xml.nocamel
>
>
> the exception (WARNING level) comes in the project where camel and cxf are together.
> When the camel references are removed, the exception disappear.
> The actual stubs are generated.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.