Answers for "maven set java 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
-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
-1

maven set java version

<plugins>
    <plugin>    
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
            <source>1.8</source>
            <target>1.8</target>
        </configuration>
    </plugin>
</plugins>
Posted by: Guest on May-24-2021

Browse Popular Code Answers by Language