From 585aed8f8fc77900fbdd8d7d8e31f60d078b68a9 Mon Sep 17 00:00:00 2001 From: Nelson Osacky Date: Fri, 24 Jul 2020 17:46:53 +0200 Subject: [PATCH 1/2] Add generated-snippets as output to test goal The generated snippets were not declared as an output to the `spring-boot-actuator-autoconfigure` test goal so when the test was pulled from the cache, it did not contain the `generated-snippets` directory. This directory is required as an input to the Asciidoctor plugin. See gh-22555 --- .../pom.xml | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml b/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml index b079e67c47e..e48c86b767c 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml @@ -734,4 +734,56 @@ + + + + com.gradle + gradle-enterprise-maven-extension + + + + + maven-surefire-plugin + + + default-test + + + + generated-snippets + ${project.basedir}/target/generated-snippets + + + + + + + + asciidoctor-maven-plugin + + + generate-html-documentation + + + + generated-snippets + + ${project.basedir}/target/generated-snippets + + + **/* + + RELATIVE_PATH + + + + + + + + + + + + From d1ea5befea381982b20cc151680c1ee61dc91153 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Sat, 25 Jul 2020 08:27:05 +0100 Subject: [PATCH 2/2] Polish "Add generated-snippets as output to test goal" See gh-22555 --- pom.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8e0ebeddfc8..adf5416ea3f 100644 --- a/pom.xml +++ b/pom.xml @@ -248,13 +248,17 @@ + + com.gradle + gradle-enterprise-maven-extension + 1.5.3 + com.gradle gradle-enterprise-maven-extension - 1.5.3