1

I use Maven bundled in NetBeans8. I have a lot of Maven projects, but also a lot of jar files provided by third parties which are not available from any online Maven repository.

I have to use these jars in one of my Maven projects. I read in this SO answer that I should copy the jars in my local repository! How can I do that in NetBeans with my bundled Maven?

Community
  • 1
  • 1
mat_boy
  • 12,998
  • 22
  • 72
  • 116

1 Answers1

2

You can either do it from the command line as explained in your link. Maven is in netbeans installation folder/java/maven/bin/mvn.bat on Windows. Not sure on other platform.

Alternatively, you can expand your project's "Dependencies" folder, right click on the jar and select "Manually install artifact".

assylias
  • 321,522
  • 82
  • 660
  • 783