From: David Rautureau Date: Mon, 19 Mar 2018 16:48:38 +0000 (+0100) Subject: BUILD-621 Inject some configuration in POM generated by Gradle to allow publication... X-Git-Tag: 7.5~1431 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a26706fb2cb83f0a5a8e5d888b443be0568940e9;p=sonarqube.git BUILD-621 Inject some configuration in POM generated by Gradle to allow publication to Maven Central --- diff --git a/gradle.properties b/gradle.properties index 394edb70e9d..0568f7c879a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ group=org.sonarsource.sonarqube version=7.1.1-SNAPSHOT -description='Open source platform for continuous inspection of code quality' +description=Open source platform for continuous inspection of code quality projectTitle=SonarQube diff --git a/sonar-application/build.gradle b/sonar-application/build.gradle index 3d1b7c34873..80c95352ac8 100644 --- a/sonar-application/build.gradle +++ b/sonar-application/build.gradle @@ -153,6 +153,10 @@ artifactoryPublish.skip = false publishing { publications { mavenJava(MavenPublication) { + pom.withXml { + asNode().appendNode('description', description) + asNode().children().last() + pomConfig + } artifact zip } } diff --git a/sonar-plugin-api/build.gradle b/sonar-plugin-api/build.gradle index 047cf35b695..af481d0d5ad 100644 --- a/sonar-plugin-api/build.gradle +++ b/sonar-plugin-api/build.gradle @@ -74,6 +74,10 @@ artifactoryPublish.skip = false publishing { publications { mavenJava(MavenPublication) { + pom.withXml { + asNode().appendNode('description', description) + asNode().children().last() + pomConfig + } artifact source: shadowJar, classifier: null if (release) { artifact sourcesJar