How to execute mvn command using IntelliJ IDEA?

后端 未结 6 1286
鱼传尺愫
鱼传尺愫 2020-12-16 09:44

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 e

相关标签:
6条回答
  • 2020-12-16 10:27

    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.

    0 讨论(0)
  • 2020-12-16 10:28

    A popup will come up on clicking the maven icon from where mvn commands can be executed.

    0 讨论(0)
  • 2020-12-16 10:29

    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.

    0 讨论(0)
  • 2020-12-16 10:36

    There is a button in maven menu of Intellij IDEA:

    screenshot

    Also you can always use "Terminal"

    0 讨论(0)
  • 2020-12-16 10:37

    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

    0 讨论(0)
  • 2020-12-16 10:46

    You can check the Image :

    enter image description here

    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.

    0 讨论(0)
提交回复
热议问题