Change Gradle publication name for artifactory

This commit switches to the default publication name considered by the
artifactory plugin when it comes to publishing artifacts to the
artifactory repository.

See gh-23282
This commit is contained in:
Brian Clozel 2019-08-21 18:42:17 +02:00
parent 53f523001e
commit 7902ae4c1f
4 changed files with 4 additions and 4 deletions

View File

@ -203,7 +203,7 @@ configure(rootProject) {
publishing { publishing {
publications { publications {
springFramework(MavenPublication) { mavenJava(MavenPublication) {
artifact docsZip artifact docsZip
artifact schemaZip artifact schemaZip
artifact distZip artifact distZip

View File

@ -15,7 +15,7 @@ dependencies {
publishing { publishing {
publications { publications {
springFramework(MavenPublication) { mavenJava(MavenPublication) {
artifactId = 'spring-framework-bom' artifactId = 'spring-framework-bom'
from components.javaPlatform from components.javaPlatform
} }

View File

@ -2,7 +2,7 @@ apply plugin: "maven-publish"
publishing { publishing {
publications { publications {
springFramework(MavenPublication) { mavenJava(MavenPublication) {
pom { pom {
name = project.description name = project.description
description = project.description description = project.description

View File

@ -49,7 +49,7 @@ task javadocJar(type: Jar) {
publishing { publishing {
publications { publications {
springFramework(MavenPublication) { mavenJava(MavenPublication) {
from components.java from components.java
artifact sourcesJar artifact sourcesJar
artifact javadocJar artifact javadocJar