On Sat, 23 Jan 2010, Christian Schneider wrote:

Hi all,

cxf currently has some dependencies on stuff that is already integrated in java >= 1.6. Can these dependencies be safely excluded by users?

I guess most people already use java 1.6 so another question is: Would it make sense to not include these dependencies by default? Java 1.5 users could still
add them to their poms.

Some of the dependencies I suspect to be in Java 1.6 are:
com.sun.xml.bind:jaxb-impl:jar:2.1.12:compile
javax.xml.bind:jaxb-api:jar:2.1:compile
javax.xml.soap:saaj-api:jar:1.3:compile
org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.2:compile
org.apache.geronimo.specs:geronimo-annotation_1.0_spec:jar:1.1.1:compile
org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.6:compile
org.apache.geronimo.specs:geronimo-jaxws_2.1_spec:jar:1.0:compile
org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec:jar:1.1.2:compile

The best is probably to parameterize this with profiles, which get's activated by the jdk.level.


--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com
Sent from my bog-standard SMTP client

Reply via email to