Files
spring-boot-data-geode/gradle/maven-pom-editor.gradle
John Blum f47bb082f3 Refactor the Gradle Project Maven POM generation.
Edit the developer email address.
2022-03-24 20:26:34 -07:00

34 lines
765 B
Groovy

def customizePom(gradleProject, pom) {
pom.whenConfigured { generatedPom ->
generatedPom.project {
developers {
developer {
id = 'jxblum'
name = "John Blum"
email = "info@vmware.com"
}
}
scm {
connection = 'scm:git:git@github.com:spring-projects/spring-boot-data-geode.git'
developerConnection = 'scm:git:git@github.com:spring-projects/spring-boot-data-geode.git'
url = 'https://github.com/spring-projects/spring-boot-data-geode'
}
url = 'https://github.com/spring-projects/spring-boot-data-geode#spring-boot-for-apache-geode'
}
}
}
project.install {
repositories.mavenInstaller {
customizePom(project, pom)
}
}
project.uploadArchives {
repositories.mavenDeployer {
customizePom(project, pom)
}
}