From 585aed8f8fc77900fbdd8d7d8e31f60d078b68a9 Mon Sep 17 00:00:00 2001 From: Nelson Osacky Date: Fri, 24 Jul 2020 17:46:53 +0200 Subject: [PATCH] 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 + + + + + + + + + + + +