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.
source
share