cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: Profile in CXF that uses activation
Date Thu, 10 Feb 2011 19:30:12 GMT
On Thursday 10 February 2011 10:52:12 am robert wrote:
> Just wondering, what does this profile do:
> 
>         <profile>
>             <id>jdk15</id>
>             <activation>
>                 <jdk>1.5</jdk>
>             </activation>
>             <properties>
>                 <jdk.version>1.5</jdk.version>
>             </properties>
>         </profile>

Basically, it detects when things are being built with Java5 instead of java6 
and turns on the jdk15 profile.   If you look in the poms, there are few 
places where the jdk15 profiles changes things.   The two major things that  
happen are:

1) Add additional dependencies - when on Java6, we don't need thinks like 
saaj-*, activation, annotation, etc... as they are built into the JDK.   On 
Java5, we need them.

2) JAX-WS 2.2 - by default, we don't use jaxws/jaxb 2.2 by default on Java6 as 
it requires a lot of endorsing and such.  With Java5, we can.

Dan


> 
> It causes the POM Model window to return an error in NetBeans 7.0, but
> not NetBeans 6.9.1.
> 
> As such, I opened up a NetBeans issue:
> 
> POM Model - Error While reading inheritance hierarchyā€¸
> http://netbeans.org/bugzilla/show_bug.cgi?id=195295

-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog

Mime
View raw message