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: [email protected]
> Subject: upgrading maven to java 1.5
> To: [email protected]
>
> 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: [email protected]
> For additional commands, e-mail: [email protected]
>