Maven How To Compile Classes With Different JDK

Do you like this?

Summary:
This example shows you the code to insert into pom.xml file to enable compiling java classes with different jdk.


Content:

<build>
	<plugin>
		<groupId>org.apache.maven.plugins</groupId>
		<artifactId>maven-compiler-plugin</artifactId>
		<configuration>
			<source>1.7</source>
			<target>1.7</target>
		</configuration>
	</plugin>
</build>

 
comments powered by Disqus