[
https://issues.apache.org/jira/browse/NETBEANS-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16490656#comment-16490656
]
Peter Nabbefeld commented on NETBEANS-595:
------------------------------------------
The problem starts with Java 9 - as the source and target properties aren't set
when the OSGi bundle is created, the build process assumes 1.5 - starting with
Java 9, this isn't supported anymore.
> OSGI Project unable to compile
> ------------------------------
>
> Key: NETBEANS-595
> URL: https://issues.apache.org/jira/browse/NETBEANS-595
> Project: NetBeans
> Issue Type: Bug
> Environment: Product Version: Apache NetBeans IDE Dev (Build
> incubator-netbeans-linux-392-on-20180403)
> Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46
> Runtime: Java(TM) SE Runtime Environment 10+46
> System: Mac OS X version 10.13.4 running on x86_64; UTF-8; en_US (nb)
> User directory: /Users/javierortiz/Library/Application Support/NetBeans/dev
> Cache directory: /Users/javierortiz/Library/Caches/NetBeans/dev
> Reporter: Javier A. Ortiz
> Priority: Major
> Labels: upstream-issue
>
> Unable to compile Wizard created project.
> {noformat}
> COMPILATION ERROR :
> -------------------------------------------------------------
> Source option 5 is no longer supported. Use 6 or later.
> Target option 1.5 is no longer supported. Use 1.6 or later.
> 2 errors
> -------------------------------------------------------------
> ------------------------------------------------------------------------
> BUILD FAILURE
> ------------------------------------------------------------------------
> Total time: 2.703 s
> Finished at: 2018-04-04T12:47:54-05:00
> Final Memory: 14M/60M
> ------------------------------------------------------------------------
> Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
> (default-compile) on project TestPlatformOSGIBundle: Compilation failure:
> Compilation failure:
> Source option 5 is no longer supported. Use 6 or later.
> Target option 1.5 is no longer supported. Use 1.6 or later.
> -> [Help 1]{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists