Repository navigation
Description
Apache NetBeans version
Apache NetBeans 13
What happened
-
I have been unable to build any Maven NetBeans Application project, including both an empty project created from
File/New Project...
or any project I've tried compiling from downloaded samples, projects on GitHub, etc. -
No previous version of the NetBeans IDE I've tried (12.6, 11.4, 10, 9) seems to be able to compile a NetBeans application either. I've seen references to building NetBeans Applications with IDE version 8.2. However, the link to the NetBeans IDE version 8.2 is broken on the download page, so I've been unable to test it.
-
I've found few, if any, online discussions pertaining to the NetBeans Platform.
-
The documentation and tutorials for the NetBeans Platform on the Apache NetBeans web site are out of date and filled with broken links. For instance, all 10 tutorial videos on https://netbeans.apache.org/tutorials/nbm-10-top-apis.html (Top 10 NetBeans APIs) seem to be broken links and internet searches turn up nothing.
-
It appears therefore that the NetBeans Platform is no longer supported, at least for projects outside of the NetBeans IDE itself. Yet, the menu items and web pages are still present. I have spent quite a lot of time exploring this issue. I strongly suggest that, if it is the case, the NetBeans team announce that support for the NetBeans Platform has been terminated, and the seeming functionality be removed from the NetBeans IDE so that other developers do not lose time attempting to use it.
-
Instead, I suggest that the NetBeans team restore the link to IDE version 8.2, and the documentation such as it existed for the most recent version of the IDE that still supported the NetBeans Platform, so that anyone who chooses to use the NetBeans Platform with an older IDE and JDK has a way of doing so.
How to reproduce
File/New Project...
Categories: Java with Maven
Projects: NetBeans Application
Click Next >
(Accept defaults)
Click Next >
(Accept defaults ... RELEASE90 ...)
Click Finish
The project build fails with
[ERROR] Some problems were encountered while processing the POMs:
Child module /Users//mavenproject1/branding of /Users//mavenproject1/pom.xml does not exist @
Child module /Users//mavenproject1/application of /Users//mavenproject1/pom.xml does not exist @
@
The build could not read 1 project -> [Help 1]
Did this work correctly in an earlier version?
No
Operating System
MacOS Monterry 12.3
JDK
I have tried JDK 8, 11, and 17.
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
With other combinations of the IDE, JDK, etc., I get different errors. For instance,
Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.1.2:generate (default-cli) on project XXX: Unable to add module to the current project as it is not of packaging type 'pom' -> [Help 1]
Note: XXX is not the name of the project, which is actually mavenproject1-parent.
Are you willing to submit a pull request?
No
Code of Conduct
Yes
Activity
matthiasblaesing commentedon Mar 24, 2022
Too much text here. "What happened" makes assumptions and jumps to conclusions that are either illogical or wrong and should not be there. I just followed the "How to reproduce" steps and they work as they should, i.e. they create the three skeleton projects (pom packaging parent, application, branding). "Clean and build" builds, so at this point it is "Works for me".
This is NetBeans build from master a few days ago with the Ubuntu OpenJDK.
For the state of the documentation, there is a well visibile note on top of that page:
So you are warned and you could be the one rebuilding the documentation. This is a project done by volunteers, so if you want something done, consider doing it yourself.
mbien commentedon Mar 24, 2022
i can't reproduce this. I just created a NB platform application based on 13 and it worked fine.
Build the parent project first so that maven downloads everything, after that you should be able to run the app project. JDK 17 will require a few additional flags to configure the java module system but it should start on JDK 11 out-of-the-box.
neilcsmith-net commentedon Mar 24, 2022
Let's move this to discussions. There may be issues to address that stem from this, but it's too broad as is to be useful here.
The platform is still supported, and actively used by multiple people involved in the NetBeans project.
@ebarboni may have some thoughts on the Maven tooling? I generally use Ant still for RCP.
We have no way (as Apache) of restoring links to NetBeans 8.2 - it wasn't an Apache project at that time!