Skip to content

Commit f2be37e

Browse files
committed
Update Security starter to depend on single copy of AOP Alliance classes
As of Spring Framework 4.3, spring-aop now embeds the classes from the aopalliance:aopalliance jar. This means that the transitive dependency on aopalliance:aopalliance is redundant and it can be excluded. Closes gh-6159
1 parent 32f694b commit f2be37e

File tree

1 file changed

+12
-0
lines changed
  • spring-boot-starters/spring-boot-starter-security

1 file changed

+12
-0
lines changed

spring-boot-starters/spring-boot-starter-security/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,22 @@
2929
<dependency>
3030
<groupId>org.springframework.security</groupId>
3131
<artifactId>spring-security-config</artifactId>
32+
<exclusions>
33+
<exclusion>
34+
<groupId>aopalliance</groupId>
35+
<artifactId>aopalliance</artifactId>
36+
</exclusion>
37+
</exclusions>
3238
</dependency>
3339
<dependency>
3440
<groupId>org.springframework.security</groupId>
3541
<artifactId>spring-security-web</artifactId>
42+
<exclusions>
43+
<exclusion>
44+
<groupId>aopalliance</groupId>
45+
<artifactId>aopalliance</artifactId>
46+
</exclusion>
47+
</exclusions>
3648
</dependency>
3749
</dependencies>
3850
</project>

0 commit comments

Comments
 (0)