Bug 999478 - Productized cxf-api has dependency on javax.mail:mail, community based doesn't
Summary: Productized cxf-api has dependency on javax.mail:mail, community based doesn't
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Maven Repository
Version: 6.1.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: EAP 6.2.0
Assignee: Yong Yang
QA Contact: Nikoleta Hlavickova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-21 11:39 UTC by Nikoleta Hlavickova
Modified: 2019-08-19 12:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-19 12:48:29 UTC
Type: Bug


Attachments (Terms of Use)

Description Nikoleta Hlavickova 2013-08-21 11:39:42 UTC
EAP 6.1.1 ER7

Product based dependency tree:
   +- org.apache.cxf:cxf-rt-bindings-soap:jar:2.6.8.redhat-7:compile
   |  +- org.apache.cxf:cxf-api:jar:2.6.8.redhat-7:compile
   |  |  \- javax.mail:mail:jar:1.4.5:compile
   |  |     \- javax.activation:activation:jar:1.1:compile
   |  \- org.apache.cxf:cxf-rt-databinding-jaxb:jar:2.6.8.redhat-7:compile

Community based dependency tree:
   +- org.apache.cxf:cxf-rt-bindings-soap:jar:2.6.8:compile
   |  +- org.apache.cxf:cxf-api:jar:2.6.8:compile
   |  |  \- org.apache.ws.xmlschema:xmlschema-core:jar:2.0.3:compile
   |  \- org.apache.cxf:cxf-rt-databinding-jaxb:jar:2.6.8:compile

javax.mail was not present in dependency tree in ER6 nor is it present in community based dependency tree

There was similar issue for cxf-rt-core that was fixed in ER4 - BZ 958869

Comment 1 Rostislav Svoboda 2013-08-22 09:34:20 UTC
It's probably related to this:

http://pkgs.devel.redhat.com/cgit/rpms/apache-cxf/log/?h=jb-eap-6-rhel-6
* 	Use javax.mail instead of geronimo mail api


jboss-eap-6.1.1.GA-maven-repository/org/jboss/ws/cxf/jbossws-cxf-client/4.1.4.Final-redhat-7/jbossws-cxf-client-4.1.4.Final-redhat-7.pom still contains 
                        <exclude>org.apache.geronimo.specs</exclude>

This should be probably changed to javax.mail ...

Comment 2 Yong Yang 2013-08-26 05:18:21 UTC
It's preferred to use jboss or official specs api, instead of geronimo ones.

Comment 3 Rostislav Svoboda 2013-08-26 09:56:00 UTC
Agree with using jboss or official specs api.

Productized javax.mail:mail is available - jboss-eap-6.1.1.GA-maven-repository/javax/mail/mail/1.4.5-redhat-1/mail-1.4.5-redhat-1.jar

See description - dependency tree for upstream jbossws-cxf-client is not using javax.mail or geronimo mail api. It's excluded, product based jbossws-cxf-client should be in sync.

Comment 4 Rostislav Svoboda 2013-08-27 08:48:57 UTC
Reopening, the problem is that javax.mail:mail shouldn't be in dependency tree for jbossws-cxf-client.

Dependency tree for upstream jbossws-cxf-client doesn't contain javax.mail or geronimo mail api, it's excluded.

We want to have it in sync. Please exclude javax.mail for jbossws-cxf-client.


Note You need to log in before you can comment on or make changes to this bug.