diff --git a/docs/src/main/asciidoc/adapters/aws-intro.adoc b/docs/src/main/asciidoc/adapters/aws-intro.adoc index d8c68efe5..3a1fb2287 100644 --- a/docs/src/main/asciidoc/adapters/aws-intro.adoc +++ b/docs/src/main/asciidoc/adapters/aws-intro.adoc @@ -107,6 +107,7 @@ tooling if you use the starter parent). If there is no `Start-Class` in your man use an environment variable or system property `MAIN_CLASS` when you deploy the function to AWS. If you are not using the functional bean definitions but relying on Spring Boot's auto-configuration, +and are not depending on `spring-boot-starter-parent`, then additional transformers must be configured as part of the maven-shade-plugin execution. [[shade-plugin-setup]] @@ -119,7 +120,7 @@ then additional transformers must be configured as part of the maven-shade-plugi org.springframework.boot spring-boot-maven-plugin - 2.7.1 + 2.7.4 @@ -138,6 +139,12 @@ then additional transformers must be configured as part of the maven-shade-plugi META-INF/spring.factories + + META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports + + + META-INF/spring/org.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration.imports + META-INF/spring.schemas @@ -234,6 +241,8 @@ shadowJar { append 'META-INF/spring.handlers' append 'META-INF/spring.schemas' append 'META-INF/spring.tooling' + append 'META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports' + append 'META-INF/spring/org.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration.imports' transform(PropertiesFileTransformer) { paths = ['META-INF/spring.factories'] mergeStrategy = "append"