I have the Maven plugin for NetBeans and it successfully set up a local repository for me. Now I need to add a 3rd party library (specifically Oracle JDBC driver) to my repository. The build fails with instructions on how to install a third party module but it doesn't look like I can run that command with the NetBeans Maven plugin. Is this possible, or do I need to just get the external version of Maven?
The NetBeans repository contains most of the public artifacts necessary for you to build your project. You can use the Maven Repository Browser to view the contents of your local and remote repositories. You can expand the Local Repository node to see the artifacts that are present locally.
In Maven, you can use “ mvn install ” to package your project and deploy to local repository automatically, so that other developers can use it.
What you could do (at least in NetBeans 6.5) is following:
I ended up downloading Maven here: http://maven.apache.org/download.html and using the standalone Maven binaries to install the jar into my Maven repository. If anyone has any thoughts on the question, I am still interested in knowing the answer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With