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>2.5</version>
      <configuration>
        <skip>true</skip>
      </configuration>
    </plugin>
  [...]
</build>

You can also skip the cleaning via command line by executing the following command:

mvn clean -Dclean.skip=true