You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Raymond Feng <en...@gmail.com> on 2008/07/29 02:14:51 UTC
TUSCANY-2506: Multiple versions of activation jars are pulled in by transitive dependencies
Hi,
When I debugged TUSCANY-2506, I found out that more than one versions of
activation jars are pulled in by various 3rd party jars. For example:
[INFO] | +- org.apache.abdera:abdera-core:jar:0.3.0-incubating:compile
[INFO] | | +- org.apache.abdera:abdera-i18n:jar:0.3.0-incubating:compile
[INFO] | | \-
org.apache.geronimo.specs:geronimo-activation_1.0.2_spec:jar:1.1:compile
[INFO] | \- org.apache.abdera:abdera-parser:jar:0.3.0-incubating:compile
[INFO] | +- org.apache.ws.commons.axiom:axiom-api:jar:1.2.5:compile
[INFO] | | \- javax.mail:mail:jar:1.4:compile
[INFO] | | \- javax.activation:activation:jar:1.1:compile
[INFO] | +- org.apache.axis2:axis2-codegen:jar:1.3:compile
[INFO] | | \- org.apache.axis2:axis2-adb:jar:1.3:compile
[INFO] | | \-
org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0-M1:compile
We only have one version is packaged in the binary distribution, but the
generated ANT build.xml contains different versions such as:
<fileset id="3rdparty.jars" dir="../../lib">
...
<include name="activation-1.1.jar"/>
...
<include name="geronimo-activation_1.0.2_spec-1.1.jar"/>
</fileset>
Please note both activation-1.1.jar and
geronimo-activation_1.0.2_spec-1.1.jar are not in the distro. As a result,
the webapp is broken due to the classpath issue.
Any idea how we can fix it?
Thanks,
Raymond