But the endorsed jaxb is only the API not the impl. I have included the dep already
Was just wanting make sure there was not a "better" way :-) Sent from my iPhone On Dec 21, 2010, at 12:51, Willem Jiang <[email protected]> wrote: > Hi Jason, > > If you are not conformable with the JAXB dependency in your pom, you can > exclude the artifacts from the cxf-rt-core and add the JAXB 2.2 into your pom. > > If you already endorse the JAXB at the JRE level, the dependency of JAXB 2.1 > will not bother you. Even it's in your pom, the JVM will load the jaxb class > from your endorse directory. > > Willem > > On 12/21/10 9:08 AM, Jason Pell wrote: >> Hi, >> >> I have endorsed them at the JRE level. I don't want to stuff around >> with the endorsing from the POM as Eclipse does not deal anyway. >> I just wanted to know what deps I need to adjust to ensure I am not >> getting jaxb 2.1 includes from cxf-rt-core. >> >> Cheers >> Jason >> >> On Tue, Dec 21, 2010 at 12:04 PM, Willem Jiang<[email protected]> >> wrote: >>> Hi, >>> >>> Even you includes the dependency jaxb/jaxws 2.2 in you pom, if you don't >>> endorse these jars from maven, maven will still use the jars from JDK. >>> >>> So you need to endorse them yourself in the pom. >>> >>> Willem >>> >>> On 12/21/10 6:07 AM, Jason Pell wrote: >>>> >>>> Hi, >>>> >>>> I can see in the parent pom it's enabled for jdk 5 - but since jdk 5 is >>>> eol I am hoping there is a convenient way for 6 as or do I need to manually >>>> include the deps? >>>> >>>> Thanks >>>> Jason >>>> >>>> Sent from my iPhone >>> >>> >>> -- >>> Willem >>> ---------------------------------- >>> FuseSource >>> Web: http://www.fusesource.com >>> Blog: http://willemjiang.blogspot.com (English) >>> http://jnn.javaeye.com (Chinese) >>> Twitter: willemjiang >>> >> > > > -- > Willem > ---------------------------------- > FuseSource > Web: http://www.fusesource.com > Blog: http://willemjiang.blogspot.com (English) > http://jnn.javaeye.com (Chinese) > Twitter: willemjiang
