servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] Commented: (SM-1949) Upgrade stax-api version
Date Sun, 04 Jul 2010 19:52:51 GMT

    [ https://issues.apache.org/activemq/browse/SM-1949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60417#action_60417
] 

Jean-Baptiste Onofré commented on SM-1949:
------------------------------------------

ServiceMix 3 upgraded to use woodstox 4.0.8 and stax-api 1.0-2.
Revision 960386.

I'm checking other ServiceMix sub-projects.

> Upgrade stax-api version
> ------------------------
>
>                 Key: SM-1949
>                 URL: https://issues.apache.org/activemq/browse/SM-1949
>             Project: ServiceMix
>          Issue Type: Bug
>            Reporter: Hadrian Zbarcea
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.4
>
>         Attachments: sm-1949.patch
>
>
> The main pom.xml defines a dependency on stax:stax-api:jar:1.0.1 which:
> 1. is old (Mar 2006)
> 2. defines a javax.xml.XMLConstants class that does not define XMLConstants.NULL_NS_URI
and causes compile errors in some ides.
> 3. mvn dependency:tree in servicemix-core shows dependencies on two different version
of stax-api (edited for brevity):
> {code}
> INFO] org.apache.servicemix:servicemix-audit:jar:3.4.0-fuse-SNAPSHOT
> [INFO] +- org.apache.servicemix:servicemix-core:jar:3.4.0-fuse-SNAPSHOT:compile
> [INFO] |  +- org.apache.geronimo.modules:geronimo-transaction:jar:2.1.4:compile
> [INFO] |  |  +- org.apache.geronimo.framework:geronimo-core:jar:2.1.4:compile
> [INFO] |  |  |  +- org.apache.geronimo.framework:geronimo-system:jar:2.1.4:compile
> [INFO] |  |  |  |  |  \- javax.xml.stream:stax-api:jar:1.0-2:compile
> [...]
> [INFO] |  +- stax:stax-api:jar:1.0.1:compile
> {code}
> I believe the correct version we should use is javax.xml.stream:stax-api:jar:1.0-2 (the
groupId has changed as well). I tested the attached patch and everything sees in order. I
hope I didn't miss anything.

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


Mime
View raw message