You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by HRH <hr...@yahoo.com.INVALID> on 2020/08/13 08:24:30 UTC
Maven generated POM for JavaFx
Hi,
I was looking through the POM that was generated for my JavaFX project and I noticed it has generated properties for the compiler as follow:
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- I have commented the following two line and nothing was broken -->
<!--<maven.compiler.source>11</maven.compiler.source> -->
<!--<maven.compiler.target>11</maven.compiler.target> -->
</properties>
It also has generated a plugin for the compiler:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<release>11</release>
</configuration>
</plugin>
Do I need both of these compiler directives in the POM, wouldn't one suffice?
Thanks