NetBeans: how to add a library from the Maven repository for a non-maven project

For a simple Java application project, how can I add a dependency or library from Maven? If I right-click on “Libraries” in the project panel, this allows me to add only local libraries. But if my project is a Maven Java application, then there is a “Dependencies” node in the “Projects” panel, and from there I can right-click and select “Add Dependency ...”.

I am using NetBeans 8.0.

+4
source share
2 answers

, . http://search.maven.org ( !). Ant ( NetBeans): Ant Ivy .

+2

Maven, NetBeans Maven, .

. http://maven.apache.org/

Maven . Maven

mvn archetype:generate

NetBeans.

-1

Source: https://habr.com/ru/post/1538148/


All Articles