Answers for "how to specify java 11 in pom.xml"

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
-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

how to change java version in pom.xml

<properties>    <maven.compiler.target>1.8</maven.compiler.target>    <maven.compiler.source>1.8</maven.compiler.source></properties>
Posted by: Guest on August-15-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language