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:
parent
53f523001e
commit
7902ae4c1f
|
@ -203,7 +203,7 @@ configure(rootProject) {
|
|||
|
||||
publishing {
|
||||
publications {
|
||||
springFramework(MavenPublication) {
|
||||
mavenJava(MavenPublication) {
|
||||
artifact docsZip
|
||||
artifact schemaZip
|
||||
artifact distZip
|
||||
|
|
|
@ -15,7 +15,7 @@ dependencies {
|
|||
|
||||
publishing {
|
||||
publications {
|
||||
springFramework(MavenPublication) {
|
||||
mavenJava(MavenPublication) {
|
||||
artifactId = 'spring-framework-bom'
|
||||
from components.javaPlatform
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ apply plugin: "maven-publish"
|
|||
|
||||
publishing {
|
||||
publications {
|
||||
springFramework(MavenPublication) {
|
||||
mavenJava(MavenPublication) {
|
||||
pom {
|
||||
name = project.description
|
||||
description = project.description
|
||||
|
|
|
@ -49,7 +49,7 @@ task javadocJar(type: Jar) {
|
|||
|
||||
publishing {
|
||||
publications {
|
||||
springFramework(MavenPublication) {
|
||||
mavenJava(MavenPublication) {
|
||||
from components.java
|
||||
artifact sourcesJar
|
||||
artifact javadocJar
|
||||
|
|
Loading…
Reference in New Issue