Answers for "maven change source version"

4

properties java 8 maven in pom xml

<properties>
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
</properties>
Posted by: Guest on March-17-2020
2

maven pom java 11

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>3.8.0</version>
    <configuration>
        <release>11</release>
    </configuration>
</plugin>
Posted by: Guest on July-25-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language