Please refer to this link

http://maven.apache.org/plugins/maven-compiler-plugin/howto.html

Jurgen Lust wrote:

Hi Pieter,

That's a configuration setting of the compiler plugin:

<build>
   <plugins>
     <plugin>
       <artifactId>maven-compiler-plugin</artifactId>
       <version>RELEASE</version>
       <configuration>
         <compilerVersion>1.4</compilerVersion>
         <source>1.4</source>
         <target>1.4</target>
         <debug>true</debug>
         <showDeprecation>true</showDeprecation>
         <showWarnings>true</showWarnings>
         <optimize>false</optimize>
       </configuration>
     </plugin>
   </plugins>
</build>

Jurgen

Pieter Vandepitte schreef:

Perhaps a simple question for the maven gurus :)
How do I set the java version against which maven2 compiles/tests/... ?
is there some tag in the pom file?
kind regards


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm


------------------------------------------------------------------------

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




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

Reply via email to