diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/build.gradle b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/build.gradle index a2fb3475d0..543fdec751 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/build.gradle +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/build.gradle @@ -47,7 +47,7 @@ dependencies { } task syncSpringBootDependenciesBom(type: Sync) { - destinationDir = file("${buildDir}/generated/sources/dependencies-bom/org/springframework/boot/maven") + destinationDir = file("${buildDir}/generated-resources/org/springframework/boot/maven") from configurations.dependenciesBom } @@ -58,8 +58,8 @@ syncDocumentationSourceForAsciidoctor { } sourceSets { - main { - output.dir("${buildDir}/generated/sources/dependencies-bom", builtBy: "syncSpringBootDependenciesBom") + intTest { + output.dir("${buildDir}/generated-resources", builtBy: "syncSpringBootDependenciesBom") } }