You need your own dependencies.

Profiles don't work as a way for something in a repo (like CXF) to
have two different sets of deps. If you want to use CXF with the newer
jars, just add your own deps for the newer jars, and they will
superceed the CXF deps.

On Mon, Dec 20, 2010 at 8:08 PM, Jason Pell <[email protected]> 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
>>
>

Reply via email to