[jira] Created: (CAMEL-480) missing dependency in example-docs/pom.xml on jaxb-impl 2.1

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

[jira] Created: (CAMEL-480) missing dependency in example-docs/pom.xml on jaxb-impl 2.1

JIRA jira@apache.org
missing dependency in example-docs/pom.xml on jaxb-impl 2.1
-----------------------------------------------------------

                 Key: CAMEL-480
                 URL: https://issues.apache.org/activemq/browse/CAMEL-480
             Project: Apache Camel
          Issue Type: Bug
          Components: documentation
    Affects Versions: 1.3.0
         Environment: Maven version: 2.0.8
Java version: 1.6.0_03
OS name: "linux" version: "2.6.24-16-generic" arch: "amd64" Family: "unix"

            Reporter: Axel G


I have installed jaxb-api 2.1 via the endorsed mechanism, as is necessary for compiling camel.
Now the camel-example-docs depends on the corresponding implementation, but its missing in the pom file.

To have
 mvn camel:dot
do what it should, I had to add

<dependency>
  <groupId>com.sun.xml.bind</groupId>
  <artifactId>jaxb-impl</artifactId>
</dependency>

to
 camel-1.3.0/examples/camel-example-docs/pom.xml


--
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-480) missing dependency in example-docs/pom.xml on jaxb-impl 2.1

JIRA jira@apache.org

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

Claus Ibsen updated CAMEL-480:
------------------------------

         Assignee: Claus Ibsen
    Fix Version/s: 1.4.0
         Priority: Minor  (was: Major)

> missing dependency in example-docs/pom.xml on jaxb-impl 2.1
> -----------------------------------------------------------
>
>                 Key: CAMEL-480
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-480
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.3.0
>         Environment: Maven version: 2.0.8
> Java version: 1.6.0_03
> OS name: "linux" version: "2.6.24-16-generic" arch: "amd64" Family: "unix"
>            Reporter: Axel G
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> I have installed jaxb-api 2.1 via the endorsed mechanism, as is necessary for compiling camel.
> Now the camel-example-docs depends on the corresponding implementation, but its missing in the pom file.
> To have
>  mvn camel:dot
> do what it should, I had to add
> <dependency>
>   <groupId>com.sun.xml.bind</groupId>
>   <artifactId>jaxb-impl</artifactId>
> </dependency>
> to
>  camel-1.3.0/examples/camel-example-docs/pom.xml

--
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] Work started: (CAMEL-480) missing dependency in example-docs/pom.xml on jaxb-impl 2.1

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

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

Work on CAMEL-480 started by Claus Ibsen.

> missing dependency in example-docs/pom.xml on jaxb-impl 2.1
> -----------------------------------------------------------
>
>                 Key: CAMEL-480
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-480
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.3.0
>         Environment: Maven version: 2.0.8
> Java version: 1.6.0_03
> OS name: "linux" version: "2.6.24-16-generic" arch: "amd64" Family: "unix"
>            Reporter: Axel G
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> I have installed jaxb-api 2.1 via the endorsed mechanism, as is necessary for compiling camel.
> Now the camel-example-docs depends on the corresponding implementation, but its missing in the pom file.
> To have
>  mvn camel:dot
> do what it should, I had to add
> <dependency>
>   <groupId>com.sun.xml.bind</groupId>
>   <artifactId>jaxb-impl</artifactId>
> </dependency>
> to
>  camel-1.3.0/examples/camel-example-docs/pom.xml

--
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-480) missing dependency in example-docs/pom.xml on jaxb-impl 2.1

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

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

Claus Ibsen updated CAMEL-480:
------------------------------

    Component/s: examples
                     (was: documentation)

> missing dependency in example-docs/pom.xml on jaxb-impl 2.1
> -----------------------------------------------------------
>
>                 Key: CAMEL-480
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-480
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 1.3.0
>         Environment: Maven version: 2.0.8
> Java version: 1.6.0_03
> OS name: "linux" version: "2.6.24-16-generic" arch: "amd64" Family: "unix"
>            Reporter: Axel G
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> I have installed jaxb-api 2.1 via the endorsed mechanism, as is necessary for compiling camel.
> Now the camel-example-docs depends on the corresponding implementation, but its missing in the pom file.
> To have
>  mvn camel:dot
> do what it should, I had to add
> <dependency>
>   <groupId>com.sun.xml.bind</groupId>
>   <artifactId>jaxb-impl</artifactId>
> </dependency>
> to
>  camel-1.3.0/examples/camel-example-docs/pom.xml

--
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-480) missing dependency in example-docs/pom.xml on jaxb-impl 2.1

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

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

Claus Ibsen commented on CAMEL-480:
-----------------------------------

Alex you are compiling and running using JDK6 only?

And then the problem is AFAIR JDK6 ships with JAXB-2.0 in the core rt.jar and thus the endorsed mechanism is needed to upgrade to JAXB-2.1.

Alex, can you try the other examples to see if they also need an dependency on jaxb? running camel:dot?


> missing dependency in example-docs/pom.xml on jaxb-impl 2.1
> -----------------------------------------------------------
>
>                 Key: CAMEL-480
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-480
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 1.3.0
>         Environment: Maven version: 2.0.8
> Java version: 1.6.0_03
> OS name: "linux" version: "2.6.24-16-generic" arch: "amd64" Family: "unix"
>            Reporter: Axel G
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> I have installed jaxb-api 2.1 via the endorsed mechanism, as is necessary for compiling camel.
> Now the camel-example-docs depends on the corresponding implementation, but its missing in the pom file.
> To have
>  mvn camel:dot
> do what it should, I had to add
> <dependency>
>   <groupId>com.sun.xml.bind</groupId>
>   <artifactId>jaxb-impl</artifactId>
> </dependency>
> to
>  camel-1.3.0/examples/camel-example-docs/pom.xml

--
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] Work stopped: (CAMEL-480) missing dependency in example-docs/pom.xml on jaxb-impl 2.1

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

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

Work on CAMEL-480 stopped by Claus Ibsen.

> missing dependency in example-docs/pom.xml on jaxb-impl 2.1
> -----------------------------------------------------------
>
>                 Key: CAMEL-480
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-480
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 1.3.0
>         Environment: Maven version: 2.0.8
> Java version: 1.6.0_03
> OS name: "linux" version: "2.6.24-16-generic" arch: "amd64" Family: "unix"
>            Reporter: Axel G
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> I have installed jaxb-api 2.1 via the endorsed mechanism, as is necessary for compiling camel.
> Now the camel-example-docs depends on the corresponding implementation, but its missing in the pom file.
> To have
>  mvn camel:dot
> do what it should, I had to add
> <dependency>
>   <groupId>com.sun.xml.bind</groupId>
>   <artifactId>jaxb-impl</artifactId>
> </dependency>
> to
>  camel-1.3.0/examples/camel-example-docs/pom.xml

--
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-480) missing dependency in example-docs/pom.xml on jaxb-impl 2.1

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

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

Claus Ibsen commented on CAMEL-480:
-----------------------------------

SUN have finally included JAXB 2.1 in JDK6 update 4.

Alex so your issue is resolved by upgrading to newer version of JDK and then the endorsed hack is not needed.

> missing dependency in example-docs/pom.xml on jaxb-impl 2.1
> -----------------------------------------------------------
>
>                 Key: CAMEL-480
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-480
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 1.3.0
>         Environment: Maven version: 2.0.8
> Java version: 1.6.0_03
> OS name: "linux" version: "2.6.24-16-generic" arch: "amd64" Family: "unix"
>            Reporter: Axel G
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> I have installed jaxb-api 2.1 via the endorsed mechanism, as is necessary for compiling camel.
> Now the camel-example-docs depends on the corresponding implementation, but its missing in the pom file.
> To have
>  mvn camel:dot
> do what it should, I had to add
> <dependency>
>   <groupId>com.sun.xml.bind</groupId>
>   <artifactId>jaxb-impl</artifactId>
> </dependency>
> to
>  camel-1.3.0/examples/camel-example-docs/pom.xml

--
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-480) missing dependency in example-docs/pom.xml on jaxb-impl 2.1

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

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

Claus Ibsen resolved CAMEL-480.
-------------------------------

    Fix Version/s: 1.4.0
                       (was: 1.5.0)
       Resolution: Won't Fix

> missing dependency in example-docs/pom.xml on jaxb-impl 2.1
> -----------------------------------------------------------
>
>                 Key: CAMEL-480
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-480
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 1.3.0
>         Environment: Maven version: 2.0.8
> Java version: 1.6.0_03
> OS name: "linux" version: "2.6.24-16-generic" arch: "amd64" Family: "unix"
>            Reporter: Axel G
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> I have installed jaxb-api 2.1 via the endorsed mechanism, as is necessary for compiling camel.
> Now the camel-example-docs depends on the corresponding implementation, but its missing in the pom file.
> To have
>  mvn camel:dot
> do what it should, I had to add
> <dependency>
>   <groupId>com.sun.xml.bind</groupId>
>   <artifactId>jaxb-impl</artifactId>
> </dependency>
> to
>  camel-1.3.0/examples/camel-example-docs/pom.xml

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