No, it is not recognized as a JavaScript project though, indeed, you can add JavaScript content to your Maven project.
It is best when using Maven in NetBeans to have a basic understanding of how Maven works generally, so that you can work with the POM. Instead of the Libraries tab in Ant-based projects, you can add dependencies to the Maven-based project via the Maven functionality built into the Projects window and though this is inconsistent with how this is done in Ant-based projects, the way Ant and Maven work are quite different and so having functionality that works to the strengths of Maven makes sense, rather than trying to force a consistent tooling to these totally different build systems. Gj On Fri, 22 Oct 2021 at 17:27, Eric Bresie <[email protected]> wrote: > While trying to create a new Netbeans Module as a Maven project. I've > started by doing the following: > > (1) New Project...Java with Maven..Netbeans Module > (2) Select Netbeans Version: RELEASE125 > (3) After creation, select the "new project", right click on Properties > > The project does not show "Libraries" but instead shows "Javascript > Libraries" (i.e. it seems to be set up like a javascript project) and > can't add Java Libraries. > > > [image: image.png] > > Assume this relates to it being a Maven project with the dependencies > being injected via POMs but I would still have expected a Maven project to > still be recognized as a "Java" type project (i.e. not Javascript) and > allow applicable Java Project type properties to be seen and/or modified. > > I suppose the drawback of depending on the Project's Library > "dependencies" is there may be confusion with "maven pom" based > dependencies but still seems like those two should be the same. > > Is this a bug? > > Eric >
