From c0bac85796a88a92272146a2545447fafeb88a7b Mon Sep 17 00:00:00 2001 From: Sina Madani Date: Thu, 6 Jun 2024 11:48:16 +0100 Subject: [PATCH] build: Improve POM --- pom.xml | 58 ++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 49 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index ac87bd2..cea3967 100644 --- a/pom.xml +++ b/pom.xml @@ -32,8 +32,7 @@ - scm:git@github.com:Vonage/vonage-kotlin-sdk - ${scm.connection} + ${project.scm.connection} ${project.url} @@ -43,12 +42,14 @@ https://oss.sonatype.org + scm:git@github.com:Vonage/vonage-kotlin-sdk UTF-8 8 2.0.0 ${kotlin.version} - ${java.version} + ${kotlin.version} ${java.version} + ${java.version} @@ -83,12 +84,48 @@ + + org.apache.maven.plugins + maven-enforcer-plugin + 3.5.0 + + + enforce-maven + + enforce + + + + + 3.6.3 + + + ${java.version} + + + + + + kotlin-maven-plugin org.jetbrains.kotlin ${kotlin.version} true + + org.jetbrains.dokka + dokka-maven-plugin + 1.9.20 + + + pre-site + + dokka + + + + maven-source-plugin 3.3.1 @@ -96,23 +133,26 @@ attach-sources - jar-no-fork + jar maven-javadoc-plugin - 3.7.0 - - true - + 3.6.2 - attach-javadocs + dokka-jar + package jar + + dokka + ${project.build.directory}/dokka + true +