diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7800189027091..6b16d5f595585 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -352,6 +352,10 @@ in `quarkus-parent` (root `pom.xml`). When contributing to Quarkus, it is recommended to respect the following rules. +> **Note:** The `impsort-maven-plugin` uses the `.cache` directory on each module to speed up the build. +> Because we have configured the plugin to store in a versioned directory, you may notice over time that the `.cache` directory grows in size. You can safely delete the `.cache` directory in each module to reclaim the space. +> Running `./mvnw clean -Dclean-cache` automatically deletes that directory for you. + **Contributing to an extension** When you contribute to an extension, after having applied your changes, run: diff --git a/independent-projects/parent/pom.xml b/independent-projects/parent/pom.xml index a10bfa7def0c9..72740e5cb52e3 100644 --- a/independent-projects/parent/pom.xml +++ b/independent-projects/parent/pom.xml @@ -691,6 +691,40 @@ + + clean-cache + + + clean-cache + !false + + + + + + org.apache.maven.plugins + maven-clean-plugin + + + clean-cache-dirs + pre-clean + true + + clean + + + + + .cache + + + + + + + + + release