You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Mark Struberg <st...@yahoo.de> on 2011/05/23 18:59:18 UTC
upgrading maven to java 1.5
Hi folks!
Is there any reason why we still stick with jdk-1.4 in lots of our sub projects?
Even java5 is already dead, dead, dead.. [1]
I would like to upgrade wagon to java5 at least to be able to run with junit-4.8.2 which is required for our wagon TCK (which is relying on annotations and in our svn since 2009).
[+1] basically upgrade, confirm on per project basis
[0] don't care
[-1] there is a technical/management problem (+which)
LieGrue,
strub
[1] http://www.oracle.com/technetwork/java/eol-135779.html
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: upgrading maven to java 1.5
Posted by Brett Porter <br...@apache.org>.
I think I recall now that it was holding off for the ever-expectant "1.0" to manage compatibility expectations - but I don't think 2.0.11 can still correctly upgrade wagons anyway.
IMO, just do it. :)
On 24/05/2011, at 3:16 AM, Stephen Connolly wrote:
> if the fix targets 2.2.x+ then that's all 1.5+
> if the fix targets 2.0.x+ then that has to remain 1.4+
>
> Our officially supported version is 3.0.3 and 2.2.1, with 2.0.x being
> an also ran.
>
> If you take care to create the branch prior to the switch then AFAIK
> it's all Nike (Just Do It(tm))
>
> On 23 May 2011 17:59, Mark Struberg <st...@yahoo.de> wrote:
>> Hi folks!
>>
>> Is there any reason why we still stick with jdk-1.4 in lots of our sub projects?
>>
>> Even java5 is already dead, dead, dead.. [1]
>>
>> I would like to upgrade wagon to java5 at least to be able to run with junit-4.8.2 which is required for our wagon TCK (which is relying on annotations and in our svn since 2009).
>>
>> [+1] basically upgrade, confirm on per project basis
>> [0] don't care
>> [-1] there is a technical/management problem (+which)
>>
>>
>> LieGrue,
>> strub
>>
>>
>> [1] http://www.oracle.com/technetwork/java/eol-135779.html
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: upgrading maven to java 1.5
Posted by Stephen Connolly <st...@gmail.com>.
if the fix targets 2.2.x+ then that's all 1.5+
if the fix targets 2.0.x+ then that has to remain 1.4+
Our officially supported version is 3.0.3 and 2.2.1, with 2.0.x being
an also ran.
If you take care to create the branch prior to the switch then AFAIK
it's all Nike (Just Do It(tm))
On 23 May 2011 17:59, Mark Struberg <st...@yahoo.de> wrote:
> Hi folks!
>
> Is there any reason why we still stick with jdk-1.4 in lots of our sub projects?
>
> Even java5 is already dead, dead, dead.. [1]
>
> I would like to upgrade wagon to java5 at least to be able to run with junit-4.8.2 which is required for our wagon TCK (which is relying on annotations and in our svn since 2009).
>
> [+1] basically upgrade, confirm on per project basis
> [0] don't care
> [-1] there is a technical/management problem (+which)
>
>
> LieGrue,
> strub
>
>
> [1] http://www.oracle.com/technetwork/java/eol-135779.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
RE: upgrading maven to java 1.5
Posted by Martin Gainty <mg...@hotmail.com>.
i've been running maven3 with 1.6 for over a year (mainly for annotations and generics) with no ill-effect
what happens if you specify source and target attributes to 1.6 in <build> <plugins> <plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.6</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</plugin>
?
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
> Date: Mon, 23 May 2011 17:59:18 +0100
> From: struberg@yahoo.de
> Subject: upgrading maven to java 1.5
> To: dev@maven.apache.org
>
> Hi folks!
>
> Is there any reason why we still stick with jdk-1.4 in lots of our sub projects?
>
> Even java5 is already dead, dead, dead.. [1]
>
> I would like to upgrade wagon to java5 at least to be able to run with junit-4.8.2 which is required for our wagon TCK (which is relying on annotations and in our svn since 2009).
>
> [+1] basically upgrade, confirm on per project basis
> [0] don't care
> [-1] there is a technical/management problem (+which)
>
>
> LieGrue,
> strub
>
>
> [1] http://www.oracle.com/technetwork/java/eol-135779.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>