mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
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:
parent
cb1b3481be
commit
b12631d75d
@ -128,11 +128,6 @@
|
||||
<artifactId>junit</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.integration</groupId>
|
||||
<artifactId>spring-integration-core</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
|
@ -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
|
||||
|
@ -24,8 +24,9 @@
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-aop</artifactId>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>spring-boot-starter-aop</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
|
Loading…
Reference in New Issue
Block a user