<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
</build>
|
In the above example you specify Java is compiled in verison 1.5 and generated classes are compatible with JVN 1.5.
No comments:
Post a Comment