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>4.0.0-beta-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