You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ol...@smals.be on 2009/05/26 09:24:54 UTC

maven-antrun-plugin & java runtime version

Hello,

- I'm executing maven in java 6 => OK

+ Error stacktraces are turned on.
Maven version: 2.0.9
Java version: 1.6.0_05
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

- I want to compile in java 1.4 => OK by setting the maven-compiler-plugin

- I want to execute the maven-antrun-plugin in Java 1.4 => NOK !!!!
The ant process is executed in java 6.

How can I say to maven that the maven-antrun-plugin must be executed in 
java 1.4.

Notes that my JAVA_HOME is already set to the JDK 1.4 folder.

Thks for your help.
__________________________________________ 

Olivier Lambert

Smals > ICT & Operational Management > JDSS
CH207 - Tel: 02-787 5264
Java Site - Java Forum
 
There are 10 types of people in the world:
those who understand binary, and those who don't.

______________________________________________________________________________________________
Smals sluit elke aansprakelijkheid uit in verband met de juistheid, de 
volledigheid of het tijdig toekomen van de informatie in deze e-mail. Aan 
deze e-mail kunnen geen rechten worden ontleend en deze e-mail houdt in 
geen geval een erkenning van welkdanige aansprakelijkheid in.
Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht 
niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden 
en het bericht te vernietigen.

Smals décline toute responsabilité quant à l'exactitude, à l'exhaustivité 
et au délai de transmission des informations contenues dans cet e-mail. 
Aucun droit ne peut être revendiqué sur cet e-mail et cet e-mail 
n'implique en aucun cas une reconnaissance de responsabilité, quelle 
qu'elle soit.
Ce message s'adresse uniquement au destinataire. Si ce message ne vous est 
pas destiné, nous vous prions de nous le signaler immédiatement et de 
détruire le message.