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?
Run testsOpen the Maven tool window. Under the Lifecycle node select test. Note that goals specified in the Maven surefire plugin will be activated at this phase and all tests in a project or in a module will be run.
Click Run -> Edit Configurations -> Press + -> Search for "Maven" -> Locate "Command Line" field and enter in following maven commands "clean install" -> Press OK. Now click the green button to run that Run/Debug Configuration, this will maven clean install the module/project.
There is a button in maven menu of Intellij IDEA:
Also you can always use "Terminal"
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
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