I am trying to add Oracle JDBC driver in my local Maven repo. I have found this link to do so.
I want to do the same from Inside IntelliJ IDEA. Is there any way to execute mvn commands from IntelliJ IDEA?
Join Stack Overflow to learn, share knowledge, and build your career.
There is a button in maven menu of Intellij IDEA:
Also you can always use "Terminal"
You can check the Image :
If you don't fine the Maven Projects there then you can open it from Bottom Left part of Intellij IDEA, there's one Square Button there. click on it.
If You don't have configure the maven
path then you also need to configure maven directory also. Using maven settings
.
Just press the ctrl key twice!
Then you will see this: Command window
Then run your maven command
https://www.jetbrains.com/help/idea/work-with-maven-goals.html
In IntelliJ IDEA Ultimate 2018.2 (maybe earlier) there is a maven projects tool window:
Then goals are available:
There is no other way than to use the terminal for some commands. But these are few since there is quite a number of cool features in the toolbar.
In the Edit Configurations you can specify a Maven configuration which allows you to execute Maven goals.
That said, I recommend to add the library to a Maven Repository such as Nexus. Then you can use the library like any other dependency and don't have to wory about the local repositories yourself.
install-file
via command line gives you the same result – Sajan Chandran Dec 2 '14 at 9:39