Hide Forgot
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
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 ...
It's preferred to use jboss or official specs api, instead of geronimo ones.
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.
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.