Quantcast
Channel: Running mvn command using IntelliJ IDEA - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by Bastien Jansen for Running mvn command using IntelliJ IDEA

$
0
0

If your project has been detected by IntelliJ as a Maven project, then you should take a look at the Maven project window, on the right side. Your project should show up as a node, with a Lifecycle subnode. If you expand it, you will see the available goals, including clean.

Right-click on this goal, choose Create yourProject[clean] and in the popup window you will be able to add extra goals to run, including dbmaintain:updateDatabase. Running this configuration will be exactly the same as running the command from an external command prompt.

If your project has not been detected as a Maven project, try reimporting it by opening the root pom.xml using File > Open. IntelliJ will ask if you want to reopen the project using the Maven structure.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>