
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'
			}
			url = 'https://github.com/spring-projects/spring-boot-data-geode#spring-boot-for-apache-geode--pivotal-gemfire'
		}
	}
}

project.install {
	repositories.mavenInstaller {
		customizePom(project, pom)
	}
}

project.uploadArchives {
	repositories.mavenDeployer {
		customizePom(project, pom)
	}
}
