[ 
https://issues.apache.org/jira/browse/NETBEANS-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-353:
------------------------------------
    Labels: pull-request-available  (was: )

> 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
>         Attachments: maven-compiler-release-flag.zip
>
>
> 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

Reply via email to