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 {
publications {
springFramework(MavenPublication) {
mavenJava(MavenPublication) {
artifact docsZip
artifact schemaZip
artifact distZip

View File

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

View File

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

View File

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