Ensure Spring Integration 4.0 is used in CLI
There was an issue with the generated poms for the dependency tools (I'm not sure the generation step works if you don't do "mvn clean"). Anyway I verified that it works and removed the (now) unnecessary provided dependency from spring-boot-cli. Fixes gh-362
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user