Skip to content

Commit 49b58b5

Browse files
committed
Remove maven-publish plugin and configuration
It’s causing the root project to produce artifacts that shouldn’t be published. This plugin isn’t necessary for publishing the other modules.
1 parent 866538e commit 49b58b5

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

build.gradle

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ configure(allprojects) {
3939
apply plugin: "propdeps-idea"
4040
apply plugin: "propdeps-eclipse"
4141
apply plugin: "io.spring.dependency-management"
42-
apply plugin: "maven-publish"
4342

4443
ext {
4544
springBootVersion = project.findProperty("springBootVersion") ?: "2.1.4.RELEASE"
@@ -224,17 +223,6 @@ configure(subprojects - [project(":spring-cloud-starter-app-broker"),
224223
archives javadocJar
225224
}
226225

227-
publishing {
228-
publications {
229-
mavenJava(MavenPublication) {
230-
from components.java
231-
232-
artifact sourcesJar
233-
artifact javadocJar
234-
}
235-
}
236-
}
237-
238226
configurations {
239227
// exclude JUnit 4 globally, in favor of JUnit 5
240228
testImplementation.exclude group: "junit", module: "junit"

0 commit comments

Comments
 (0)