From 84600f33c8a713587236d48a935dad4cc642f42e Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Thu, 14 Sep 2023 12:30:20 +0200 Subject: [PATCH] build(Gradle): Add more POM metadata required for publishing Without these, the check performed by Sonatype Nexus when closing a staging repository for releasing fails. Signed-off-by: Sebastian Schuberth --- .../kotlin/ort-publication-conventions.gradle.kts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/buildSrc/src/main/kotlin/ort-publication-conventions.gradle.kts b/buildSrc/src/main/kotlin/ort-publication-conventions.gradle.kts index 5bb8ec7a5e1e1..46538a92ac106 100644 --- a/buildSrc/src/main/kotlin/ort-publication-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/ort-publication-conventions.gradle.kts @@ -43,6 +43,18 @@ configure { artifact(tasks["docsJavadocJar"]) pom { + name = project.name + description = "Part of the OSS Review Toolkit (ORT), a suite to automate software compliance checks." + url = "https://oss-review-toolkit.org/" + + developers { + developer { + name = "The ORT Project Authors" + email = "ort@ossreviewtoolkit.org" + url = "https://github.com/oss-review-toolkit/ort/blob/main/NOTICE" + } + } + licenses { license { name = "Apache-2.0"