Answers for "maven set different compile and import jdk version"

-1

how to change maven java version in po,

<project>
...
 <properties>
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
  </properties>
...
</project>
Posted by: Guest on May-26-2020
0

maven compiler plugin for java 13

<plugin>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-compiler-plugin</artifactId>
	<version>3.8.0</version>
	<configuration>
		<release>13</release>
		<compilerArgs>
			--enable-preview
		</compilerArgs>
	</configuration>
</plugin>
Posted by: Guest on September-29-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language