From 01d857c338229ca634153def4813aa0db79d879f Mon Sep 17 00:00:00 2001 From: David Roden Date: Sun, 11 May 2025 11:00:17 +0200 Subject: [PATCH] =?utf8?q?=F0=9F=93=9D=20Build=20javadoc=20and=20archive?= =?utf8?q?=20it=20correctly?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 2 +- pom.xml | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index e84b7dd..e6779e9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -40,7 +40,7 @@ pipeline { configFileProvider([configFile(fileId: 'fb50fa11-48a8-44b8-84fd-e11f06ab1067', targetLocation: 'toolchains.xml')]) { sh './mvnw -t toolchains.xml -DskipTests=true package' archiveArtifacts artifacts: '**/target/*.jar', fingerprint: true - javadoc javadocDir: '**/target/apidocs', keepAll: true + javadoc javadocDir: 'target/site/apidocs', keepAll: true } } } diff --git a/pom.xml b/pom.xml index 934eca5..86e07ae 100644 --- a/pom.xml +++ b/pom.xml @@ -117,6 +117,11 @@ 3.13.0 + org.apache.maven.plugins + maven-javadoc-plugin + 3.6.3 + + maven-surefire-plugin 3.3.1 @@ -148,6 +153,18 @@ org.apache.maven.plugins maven-toolchains-plugin + + org.apache.maven.plugins + maven-javadoc-plugin + + + + aggregate + + package + + + -- 2.7.4