Skip to content

Commit 07442f8

Browse files
committed
Exclude plexus-utils in favor of Maven's build-in version
Closes gh-41248
1 parent c5dfcc5 commit 07442f8

File tree

1 file changed

+3
-3
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-maven-plugin

1 file changed

+3
-3
lines changed

spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ dependencies {
1616
asciidoctorExtensions("io.spring.asciidoctor:spring-asciidoctor-extensions-section-ids")
1717

1818
compileOnly("org.apache.maven.plugin-tools:maven-plugin-annotations")
19-
compileOnly("org.sonatype.plexus:plexus-build-api")
2019
compileOnly("org.apache.maven:maven-core") {
2120
exclude(group: "javax.annotation", module: "javax.annotation-api")
2221
exclude(group: "javax.inject", module: "javax.inject")
@@ -34,6 +33,9 @@ dependencies {
3433
exclude(group: "javax.enterprise", module: "cdi-api")
3534
exclude(group: "javax.inject", module: "javax.inject")
3635
}
36+
implementation("org.sonatype.plexus:plexus-build-api") {
37+
exclude(group: "org.codehaus.plexus:plexus-utils")
38+
}
3739
implementation("org.springframework:spring-core")
3840
implementation("org.springframework:spring-context")
3941

@@ -59,8 +61,6 @@ dependencies {
5961
mavenRepository(project(path: ":spring-boot-project:spring-boot-devtools", configuration: "mavenRepository"))
6062
mavenRepository(project(path: ":spring-boot-project:spring-boot-docker-compose", configuration: "mavenRepository"))
6163

62-
runtimeOnly("org.sonatype.plexus:plexus-build-api")
63-
6464
testImplementation("org.apache.maven:maven-core") {
6565
exclude(group: "javax.annotation", module: "javax.annotation-api")
6666
exclude(group: "javax.inject", module: "javax.inject")

0 commit comments

Comments
 (0)