Add Gradle build file to configure the generated Maven POMs for SBDG modules.

Resolves gh-43.
This commit is contained in:
John Blum
2019-07-26 00:21:17 -07:00
parent 3844f8a4cf
commit 66327392c7
14 changed files with 46 additions and 0 deletions

View File

@@ -20,3 +20,5 @@ description = 'Spring Boot for Apache Geode & Pivotal GemFire'
ext.snapshotBuild = version.endsWith('SNAPSHOT')
ext.releaseBuild = version.endsWith('RELEASE')
ext.milestoneBuild = !(releaseBuild || snapshotBuild)
ext.MAVEN_POM_EDITOR_GRADLE = "$rootDir/gradle/maven-pom-editor.gradle"

View File

@@ -0,0 +1,32 @@
def customizePom(gradleProject, pom) {
pom.whenConfigured { generatedPom ->
generatedPom.project {
developers {
developer {
id = 'jxblum'
name = "John Blum"
email = "jblum@pivotal.io"
}
}
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'
}
}
}
}
project.install {
repositories.mavenInstaller {
customizePom(project, pom)
}
}
project.uploadArchives {
repositories.mavenDeployer {
customizePom(project, pom)
}
}

View File

@@ -1,4 +1,5 @@
apply plugin: 'io.spring.convention.spring-module'
apply from: MAVEN_POM_EDITOR_GRADLE
description = "Spring Boot Actuator Starter for Pivotal GemFire"

View File

@@ -1,4 +1,5 @@
apply plugin: 'io.spring.convention.spring-module'
apply from: MAVEN_POM_EDITOR_GRADLE
description = "Spring Boot Starter for Spring Session using Pivotal GemFire"

View File

@@ -1,4 +1,5 @@
apply plugin: 'io.spring.convention.spring-module'
apply from: MAVEN_POM_EDITOR_GRADLE
description = "Spring Boot Test Starter for Pivotal GemFire"

View File

@@ -1,4 +1,5 @@
apply plugin: 'io.spring.convention.spring-module'
apply from: MAVEN_POM_EDITOR_GRADLE
description = "Spring Boot Starter for Pivotal GemFire"

View File

@@ -1,4 +1,5 @@
apply plugin: 'io.spring.convention.spring-module'
apply from: MAVEN_POM_EDITOR_GRADLE
description = "Spring Boot for Apache Geode Actuator Auto-Configuration"

View File

@@ -1,4 +1,5 @@
apply plugin: 'io.spring.convention.spring-module'
apply from: MAVEN_POM_EDITOR_GRADLE
description = "Spring Boot for Apache Geode Actuator"

View File

@@ -3,6 +3,7 @@ plugins {
}
apply plugin: 'io.spring.convention.spring-module'
apply from: MAVEN_POM_EDITOR_GRADLE
description = "Spring Boot for Apache Geode Auto-Configuration"

View File

@@ -1,4 +1,5 @@
apply plugin: 'io.spring.convention.spring-module'
apply from: MAVEN_POM_EDITOR_GRADLE
description = "Spring Boot Actuator Starter for Apache Geode"

View File

@@ -1,4 +1,5 @@
apply plugin: 'io.spring.convention.spring-module'
apply from: MAVEN_POM_EDITOR_GRADLE
description = "Spring Boot Starter for Spring Session using Apache Geode"

View File

@@ -1,4 +1,5 @@
apply plugin: 'io.spring.convention.spring-module'
apply from: MAVEN_POM_EDITOR_GRADLE
description = "Spring Boot Test Starter for Apache Geode"

View File

@@ -1,4 +1,5 @@
apply plugin: 'io.spring.convention.spring-module'
apply from: MAVEN_POM_EDITOR_GRADLE
description = "Spring Boot Starter for Apache Geode"

View File

@@ -3,6 +3,7 @@ plugins {
}
apply plugin: 'io.spring.convention.spring-module'
apply from: MAVEN_POM_EDITOR_GRADLE
description = "Spring Boot for Apache Geode"