61 lines
1.2 KiB
Groovy
61 lines
1.2 KiB
Groovy
apply plugin: 'maven-publish'
|
|
|
|
publishing {
|
|
publications {
|
|
mavenJava(MavenPublication) {
|
|
suppressAllPomMetadataWarnings()
|
|
from components.java
|
|
artifact docsZip
|
|
artifact schemaZip
|
|
artifact distZip
|
|
pom {
|
|
afterEvaluate {
|
|
name = project.description
|
|
description = project.description
|
|
}
|
|
url = linkScmUrl
|
|
organization {
|
|
name = 'Spring IO'
|
|
url = 'https://spring.io/projects/spring-integration'
|
|
}
|
|
licenses {
|
|
license {
|
|
name = 'Apache License, Version 2.0'
|
|
url = 'https://www.apache.org/licenses/LICENSE-2.0'
|
|
distribution = 'repo'
|
|
}
|
|
}
|
|
scm {
|
|
url = linkScmUrl
|
|
connection = linkScmConnection
|
|
developerConnection = linkScmDevConnection
|
|
}
|
|
developers {
|
|
developer {
|
|
id = 'artembilan'
|
|
name = 'Artem Bilan'
|
|
email = 'abilan@vmware.com'
|
|
roles = ['project lead']
|
|
}
|
|
}
|
|
issueManagement {
|
|
system = 'GitHub'
|
|
url = linkIssue
|
|
}
|
|
}
|
|
versionMapping {
|
|
usage('java-api') {
|
|
fromResolutionResult()
|
|
}
|
|
usage('java-runtime') {
|
|
fromResolutionResult()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
artifactoryPublish {
|
|
publications(publishing.publications.mavenJava)
|
|
}
|