Hi Allan,

  Add these lines to you pom.xml:

<project>
 <build>
   <plugins>
     <plugin>
       <artifactId>maven-compiler-plugin</artifactId>
       <configuration>
         <source>1.5</source>
         <target>1.5</target>
       </configuration>
     </plugin>
   </plugins>
 </build>
</project>

Julio


On 11/10/06, Allan Valeriano <[EMAIL PROTECTED]> wrote:
Hi all,


I'm having problems setting up a new jre to run mvn install.
My default java version is 1.4.2_11, but I need maven to use jre 5 for it.
I've read the FAQ, but I must say the example for it is not really helpful.
Could somebody give me a hand on this sending a complete example?


thanks in advance
Allan Valeriano



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to