Replies: 9 comments 19 replies
-
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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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! |
Beta Was this translation helpful? Give feedback.
-
For me this works well on the windows os I have no access to macos to reproduce that. Would be nice to know if some IDE log (MENU -> view -> IDE LOG) are displayed maybe folder creation limitation on the os because to me it seems that it fails in generating the folder from the archetype itself and that later maven clean install fail at low project level. The only "issue" may be to bump nbm-maven plugin to 4.7 and netbeans release version to a release not containg the pack2000 artefacts like the RELEASE130 (RELEASE90 to old) to support jdk 17 and the pack2000 removal and compiler maven plugin also that may be old. Harness delivered is also a bit old but still works. |
Beta Was this translation helpful? Give feedback.
-
One more point. I took the trouble of wiping the hard drive of a MacBook pro I borrowed from my employer. On a completely clean machine, I installed MacOS Catalina 10.15.7, then JDK 17 (amazon corretto 17.0.2.8.1), then a freshly downloaded copy of NetBeans 13. No other software was installed. Using the same 3 mouse clicks, I reproduced the build failure. Failed to execute goal org.apache.netbeans.utilities:nbm-maven-plugin:4.3:cluster-app (default-cluster-app: Execution default-cluster-app of goal org.apache.netbeans.utilities:nbm-maven-plugin: ... |
Beta Was this translation helpful? Give feedback.
-
You’re going to need to turn down your frustration levels significantly here. We’re all volunteers, all working here for free — for example, has it occurred to you that if you find links to broken tutorials or documentation that you yourself as a user of an open source project are responsible for replacing those broken links and tutorials and providing new content, on your own or in collaboration with others? |
Beta Was this translation helpful? Give feedback.
-
Also, are you using the NetBeans Platform in a commercial setting, i.e., are you or is your employer making money from the NetBeans Platform? We’d welcome you or your employer paying for someone to fix each and every bug that bothers you. How does that sound? |
Beta Was this translation helpful? Give feedback.
-
It seems odd to contribute time and money to an open source project? It seems odd that you think people will work for free to support a commercial project. It won’t be me anyway. |
Beta Was this translation helpful? Give feedback.
-
Wow, what a heated discussion here. FWIW, I've just tried the same with NB13 release and ...
which is quite misleading for novice users: how should one know that one must build the reactor in
After these things, the reactor project built cleanly on JDK11. However, I was not able to reproduce the exact messages copied in the original report; namely
Is very strange, as the autogenerated module/subproject is always named "branding", not "branding of ...". @Addlai are you sure that you copied the message exactly ? Also note the duplicated slash after |
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions