[ https://issues.apache.org/jira/browse/NETBEANS-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16377595#comment-16377595 ]
John McDonnell commented on NETBEANS-353: ----------------------------------------- moving this ticket to closed, as it has been merged by [~GeertjanWielenga] > Support maven.compiler.release in pom.xml > ----------------------------------------- > > Key: NETBEANS-353 > URL: https://issues.apache.org/jira/browse/NETBEANS-353 > Project: NetBeans > Issue Type: Improvement > Components: projects - Maven > Affects Versions: 9.0 > Reporter: Thomas Zimmermann > Priority: Minor > Labels: pull-request-available > Fix For: 9.0 > > Attachments: maven-compiler-release-flag.zip > > Time Spent: 0.5h > Remaining Estimate: 0h > > I am using incubator-netbeans-release-205-on-20180202. > Java 9 added the _[--release|http://openjdk.java.net/jeps/247]_ flag to > javac, the maven-compiler-plugin already supports this: > [https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#release] > Right now, NetBeans uses _maven.compiler.source_ (and possibly > _maven.compiler.target_ ?_)_ to determine the source level in the Editor. It > would be nice to have support for _maven.compiler.release_ as well, since > that now seems to be the preferred way to specify the source level going > forward. > I tried this new flag because I saw Robert Scholte recommending it: > [https://youtu.be/tHTmFlVAyAc?t=1195] > Attached is a trivial maven project that shows errors in NetBeans but > compiles fine when invoking maven directly. > > P.S.: I also want to thank you all for your work on NetBeans, it's very > stable and intuitive to get started with. I'm not a power user, but I haven't > encountered any issues with the snapshot version so far. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists