Maven clean install is equal mvn clean and after mvn install?

installation, java, maven, performance

Solution

AFAIK, yes, although I'm a little surprised startup/resolution/etc. takes that much time.

Things like OS-caching, JVM startup/optimization/etc., and so on would all play a role in the differences.

Problem

I have multimodule maven project. Found that: mvn clean - takes 3 minutes after mvn install - takes 18 minutes. So I suppose that mvn clean install should take 21 minutes, but it takes near 30 minutes! So does it the same: ``` mvn clean install ``` and ``` mvn clean mvn install ``` ? Thanks.

Original source