I have a multi-module maven project. Found that:
mvn clean - takes 3 minutes after
mvn install - takes 18 minutes.
Therefore, I assume that mvn clean install will take 21 minutes, but it will take about 30 minutes! Same:
mvn clean install
and
mvn clean mvn install
? Thanks.
AFAIK, yes, although I'm a little surprised at startup / resolution, etc. takes a long time.
Things like OS caching, running / optimizing JVMs, etc. etc., will play a role in the differences.
take this example
framework framework-utils foundation foundation-model foundation-api foundation-core The call order of my modules: 1. mvn clean / mvn install: [clean] framework-utils [clean] foundation-model [clean] foundation-api [clean] foundation-core [install] framework-utils [install] foundation-model [install] foundation-api [install] foundation-core 2. mvn clean install: [clean] framework-utils [install] framework-utils [clean] foundation-model [install] foundation-model [clean] foundation-api [install] foundation-api [clean] foundation-core [install] foundation-core
Source: https://habr.com/ru/post/915981/More articles:Boost :: math :: erf - c ++ algorithmChange text color - androidIncorrect route search and ActionLink generates invalid hyperlink - asp.net-mvc-routingHow to copy bytearray buffer in python? - pythoncocos2d-x how to read plist in an array - iosimproving friend list query: counting common friends - phpIntegration of prolog into other environments - prologHow to get several celery workers to do the same tasks? - pythonWhy can't I split datetime.timedelta into a float? - pythonScripting specific records in SQL Server - sqlAll Articles