You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2009/12/14 08:52:19 UTC
Maven 2.2 compliant jdk activation in pom.xml
Hi
I have just committed the camel-core/pom.xml to use a new syntax for
jdk 1.5 detection in the activation.
This change should be compliant with maven 2.2 syntax which is using this now.
As we are still using maven 2.0.9 and maybe others are on maven 2.1.x
then keep an eye on this to see if the commit works as expected.
<activation>
<jdk>[1.5,)</jdk>
</activation>
It used to be just like
<jdk>1.5</jdk>
--
Claus Ibsen
Apache Camel Committer
Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus
Re: Maven 2.2 compliant jdk activation in pom.xml
Posted by Claus Ibsen <cl...@gmail.com>.
On Mon, Dec 14, 2009 at 9:56 AM, Willem Jiang <wi...@gmail.com> wrote:
>
> Hi Claus
>
> I just tested your change on maven 2.0.9, it can't take <jdk>[1.5,)</jdk>.
> BTW, we don't need to include jaxb jars for JDK 1.6.0, as it is part of JVM.
>
> Maybe we need to revert or add a profile which support maven 2.0.9 syntax.
>
Yeah it didn't work. Damn maven. Why the **** does maven 2.2 not
support the old syntax as well.
I will revert the commit.
> Willem
>
> Claus Ibsen wrote:
>>
>> Hi
>>
>> I have just committed the camel-core/pom.xml to use a new syntax for
>> jdk 1.5 detection in the activation.
>> This change should be compliant with maven 2.2 syntax which is using this
>> now.
>>
>> As we are still using maven 2.0.9 and maybe others are on maven 2.1.x
>> then keep an eye on this to see if the commit works as expected.
>>
>> <activation>
>> <jdk>[1.5,)</jdk>
>> </activation>
>>
>> It used to be just like
>> <jdk>1.5</jdk>
>>
>>
>>
>
>
--
Claus Ibsen
Apache Camel Committer
Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus
Re: Maven 2.2 compliant jdk activation in pom.xml
Posted by Willem Jiang <wi...@gmail.com>.
Hi Claus,
I just committed the maven 2.0.x profile for camel-core, So camel-core
can be built with maven 2.0.x and camel 2.2.x at same time :)
Willem
Willem Jiang wrote:
>
> Hi Claus
>
> I just tested your change on maven 2.0.9, it can't take <jdk>[1.5,)</jdk>.
> BTW, we don't need to include jaxb jars for JDK 1.6.0, as it is part of
> JVM.
>
> Maybe we need to revert or add a profile which support maven 2.0.9 syntax.
>
> Willem
>
> Claus Ibsen wrote:
>> Hi
>>
>> I have just committed the camel-core/pom.xml to use a new syntax for
>> jdk 1.5 detection in the activation.
>> This change should be compliant with maven 2.2 syntax which is using
>> this now.
>>
>> As we are still using maven 2.0.9 and maybe others are on maven 2.1.x
>> then keep an eye on this to see if the commit works as expected.
>>
>> <activation>
>> <jdk>[1.5,)</jdk>
>> </activation>
>>
>> It used to be just like
>> <jdk>1.5</jdk>
>>
>>
>>
>
>
Re: Maven 2.2 compliant jdk activation in pom.xml
Posted by Willem Jiang <wi...@gmail.com>.
Hi Claus
I just tested your change on maven 2.0.9, it can't take <jdk>[1.5,)</jdk>.
BTW, we don't need to include jaxb jars for JDK 1.6.0, as it is part of JVM.
Maybe we need to revert or add a profile which support maven 2.0.9 syntax.
Willem
Claus Ibsen wrote:
> Hi
>
> I have just committed the camel-core/pom.xml to use a new syntax for
> jdk 1.5 detection in the activation.
> This change should be compliant with maven 2.2 syntax which is using this now.
>
> As we are still using maven 2.0.9 and maybe others are on maven 2.1.x
> then keep an eye on this to see if the commit works as expected.
>
> <activation>
> <jdk>[1.5,)</jdk>
> </activation>
>
> It used to be just like
> <jdk>1.5</jdk>
>
>
>