How do I install modules into the maven repository using Netbeans embedded Maven?

后端 未结 2 1051
别跟我提以往
别跟我提以往 2020-12-18 23:05

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 repo

相关标签:
2条回答
  • 2020-12-18 23:19

    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.

    0 讨论(0)
  • 2020-12-18 23:31

    What you could do (at least in NetBeans 6.5) is following:

    • add dependency to the library in your pom
    • go to Projects->your project->Libraries (you should see the library with exclamation mark)
    • right click on the library, choose 'Manually install artifact'
    • select the jar from local drive, 'Install locally' and you are done!
    0 讨论(0)
提交回复
热议问题