@@ -15,11 +15,6 @@ configurations {
15
15
dependencies {
16
16
compileOnly(" org.apache.maven.plugin-tools:maven-plugin-annotations" )
17
17
compileOnly(" org.sonatype.plexus:plexus-build-api" )
18
- compileOnly(" org.apache.maven.shared:maven-common-artifact-filters" ) {
19
- exclude(group : " javax.annotation" , module : " javax.annotation-api" )
20
- exclude(group : " javax.enterprise" , module : " cdi-api" )
21
- exclude(group : " javax.inject" , module : " javax.inject" )
22
- }
23
18
compileOnly(" org.apache.maven:maven-core" ) {
24
19
exclude(group : " javax.annotation" , module : " javax.annotation-api" )
25
20
exclude(group : " javax.inject" , module : " javax.inject" )
@@ -30,9 +25,14 @@ dependencies {
30
25
exclude(group : " javax.inject" , module : " javax.inject" )
31
26
}
32
27
33
- implementation(" org.springframework:spring-context" )
34
28
implementation(project(" :spring-boot-project:spring-boot-tools:spring-boot-buildpack-platform" ))
35
29
implementation(project(" :spring-boot-project:spring-boot-tools:spring-boot-loader-tools" ))
30
+ implementation(" org.apache.maven.shared:maven-common-artifact-filters" ) {
31
+ exclude(group : " javax.annotation" , module : " javax.annotation-api" )
32
+ exclude(group : " javax.enterprise" , module : " cdi-api" )
33
+ exclude(group : " javax.inject" , module : " javax.inject" )
34
+ }
35
+ implementation(" org.springframework:spring-context" )
36
36
37
37
intTestImplementation(project(" :spring-boot-project:spring-boot-tools:spring-boot-buildpack-platform" ))
38
38
intTestImplementation(project(" :spring-boot-project:spring-boot-tools:spring-boot-loader-tools" ))
@@ -58,6 +58,15 @@ dependencies {
58
58
59
59
runtimeOnly(" org.sonatype.plexus:plexus-build-api" )
60
60
61
+ testImplementation(" org.apache.maven:maven-core" ) {
62
+ exclude(group : " javax.annotation" , module : " javax.annotation-api" )
63
+ exclude(group : " javax.inject" , module : " javax.inject" )
64
+ }
65
+ testImplementation(" org.apache.maven.shared:maven-common-artifact-filters" ) {
66
+ exclude(group : " javax.annotation" , module : " javax.annotation-api" )
67
+ exclude(group : " javax.enterprise" , module : " cdi-api" )
68
+ exclude(group : " javax.inject" , module : " javax.inject" )
69
+ }
61
70
testImplementation(" org.assertj:assertj-core" )
62
71
testImplementation(" org.junit.jupiter:junit-jupiter" )
63
72
testImplementation(" org.mockito:mockito-core" )
0 commit comments