diff --git a/build-caching-maven-samples/README.md b/build-caching-maven-samples/README.md index 0b889eb5e..df64e6b24 100644 --- a/build-caching-maven-samples/README.md +++ b/build-caching-maven-samples/README.md @@ -20,6 +20,5 @@ The following Maven plugins are demonstrated: - PMD: `org.apache.maven.plugins:maven-pmd-plugin` - Protobuf: `com.github.os72:protoc-jar-maven-plugin` - Spotbugs: `com.github.spotbugs:spotbugs-maven-plugin` -- Spotless: `com.diffplug.spotless:spotless-maven-plugin` - Spring Cloud Contract: `org.springframework.cloud:spring-cloud-contract-maven-plugin` - Webstart: `org.codehaus.mojo:webstart-maven-plugin` (Java 1.8 only) diff --git a/build-caching-maven-samples/pom.xml b/build-caching-maven-samples/pom.xml index 223dadf1f..bdd53106b 100644 --- a/build-caching-maven-samples/pom.xml +++ b/build-caching-maven-samples/pom.xml @@ -22,7 +22,6 @@ pmd-project protobuf-project spotbugs-project - spotless-project spring-cloud-contract-project diff --git a/build-caching-maven-samples/spotless-project/README.md b/build-caching-maven-samples/spotless-project/README.md deleted file mode 100644 index a4338e16a..000000000 --- a/build-caching-maven-samples/spotless-project/README.md +++ /dev/null @@ -1,4 +0,0 @@ -Example configuration for making the `spotless` goals of the `spotless-maven-plugin` cacheable. - -Note that there are some limitations in the caching behaviour, where incorrect cache hits or misses -could result in very particular change scenarios. See comments in the `pom.xml` file for more details. diff --git a/build-caching-maven-samples/spotless-project/pom.xml b/build-caching-maven-samples/spotless-project/pom.xml deleted file mode 100644 index 49f32d652..000000000 --- a/build-caching-maven-samples/spotless-project/pom.xml +++ /dev/null @@ -1,235 +0,0 @@ - - 4.0.0 - spotless-project - jar - - - com.example - develocity-maven-caching-sample - 1.0-SNAPSHOT - - - - - - com.diffplug.spotless - spotless-maven-plugin - 2.43.0 - - - spotless-check - - check - - - - - - - - src/main/**/package-info.java - src/main/**/module-info.java - - - - - - src/main/java/**/*.java - src/test/java/**/*.java - - - 1.15.0 - - false - - - - - - - - - com.gradle - develocity-maven-extension - - - - - com.diffplug.spotless - spotless-maven-plugin - - - - baseDir - - .idea/* - target/* - - - true - true - - - - - - applySkip - - - encoding - - - checkSkip - - - filePatterns - - - goal - - - setLicenseHeaderYearsFromGitHistory - - - skip - - - ratchetFrom - - - - repositorySystemSession - repositories - project - lineEndings - - - - - formats - - - - encoding - - - lineEndings - - - ratchetFrom - - - includes - - - excludes - - - - - - - - licenseHeader - - - - file - - - content - - - delimiter - - - skipLinesMatching - - - - - - upToDateChecking - - - - enabled - - - indexFile - - - - - - - java - - - python - - - scala - - - groovy - - - javascript - - - json - - - kotlin - - - cpp - - - antlr4 - - - sql - - - typescript - - - yaml - - - pom - - - markdown - - - gherkin - - - go - - - shell - - - - - - buildDir - - - check should only run when inputs change - - - - - - - - - - - diff --git a/build-caching-maven-samples/spotless-project/src/main/java/com/example/App.java b/build-caching-maven-samples/spotless-project/src/main/java/com/example/App.java deleted file mode 100644 index bb3a707b0..000000000 --- a/build-caching-maven-samples/spotless-project/src/main/java/com/example/App.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.example; - -public class App { - public static void main(String[] args) { - System.out.println("Hello" + "" + "" + "" + " World!"); - } -}