Skipping Clean
To skip running the cleanup for a particular project, set the skip
property to true
.
<build> [...] <plugin> <artifactId>maven-clean-plugin</artifactId> <version>3.3.2</version> <configuration> <skip>true</skip> </configuration> </plugin> [...] </build>
You can also skip the cleaning via command line by executing the following command:
mvn clean -Dmaven.clean.skip=true