Using mvn clean install from cmd, while running the app from intellij its seems like it rebuilding it

Viewed 31

I'm trying to automate some mvn commands to set up the dev env in IntelliJ.

I'm running from cmd:

   mvn clean install -DskipTests -P profile1,profile2

When it finish, I'm running the app from IntelliJ, it seems like IntelliJ is compelling and building it again before it runs.

Is there a way to add flags to the cmd command in order to save the step of IntelliJ compiling & building it?

0 Answers
Related