diff --git a/spring-boot-cli/pom.xml b/spring-boot-cli/pom.xml index 1eec2aeb29a..d879bc74db5 100644 --- a/spring-boot-cli/pom.xml +++ b/spring-boot-cli/pom.xml @@ -128,11 +128,6 @@ junit provided - - org.springframework.integration - spring-integration-core - provided - diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringIntegrationCompilerAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringIntegrationCompilerAutoConfiguration.java index 75e930b0357..256f407041b 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringIntegrationCompilerAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringIntegrationCompilerAutoConfiguration.java @@ -32,7 +32,8 @@ public class SpringIntegrationCompilerAutoConfiguration extends CompilerAutoConf @Override public boolean matches(ClassNode classNode) { - return AstUtils.hasAtLeastOneAnnotation(classNode, "EnableIntegration"); + return AstUtils.hasAtLeastOneAnnotation(classNode, "EnableIntegration") + || AstUtils.hasAtLeastOneAnnotation(classNode, "MessageEndpoint"); } @Override diff --git a/spring-boot-starters/spring-boot-starter-integration/pom.xml b/spring-boot-starters/spring-boot-starter-integration/pom.xml index 7d0947e6673..f069afec8fc 100644 --- a/spring-boot-starters/spring-boot-starter-integration/pom.xml +++ b/spring-boot-starters/spring-boot-starter-integration/pom.xml @@ -24,8 +24,9 @@ ${project.version} - org.springframework - spring-aop + ${project.groupId} + spring-boot-starter-aop + ${project.version} org.springframework