You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Peter Nabbefeld (JIRA)" <ji...@apache.org> on 2018/05/25 09:54:00 UTC
[jira] [Commented] (NETBEANS-595) OSGI Project unable to compile
[ https://issues.apache.org/jira/browse/NETBEANS-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16490498#comment-16490498 ]
Peter Nabbefeld commented on NETBEANS-595:
------------------------------------------
Hi, I got the same problem. IMHO, this is primarily a Maven problem (as the generated POM is not setting the appropriate properties). The archetype seems to be outdated, probably an archetype directory should be supported:
"Archetype repository not defined. Using the one from [org.codehaus.mojo.archetypes:osgi-archetype:1.4] found in catalog remote".
I then downloaded the sources from Github ([https://github.com/mojohaus/osgi-archetype)] and built the project, so the archetype has been deployed locally; this solved the problem for me.
However, I don't know, which of the changes caused the appropriate properties to be set now.
> 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
>
> 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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists