From 40a6e606a1ca4d82d67d066659512df92bbf9b73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Kohlschu=CC=88tter?= Date: Thu, 27 Jun 2024 22:58:58 +0200 Subject: [PATCH] Add javadoc/source plugins for "-Ddeploy" We may want to "mvn deploy" with "-Dignorant" to suppress any code validation upon deploy. However, we need javadoc and source plugins to generate the corresponding output for the deploy to succeed. --- pom.xml | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/pom.xml b/pom.xml index ce1c8b8..7329624 100644 --- a/pom.xml +++ b/pom.xml @@ -980,6 +980,67 @@ + + deploy-javadoc + + + deploy + true + + + src/main/java + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + attach-javadocs + + jar + + + + + + + + + + + + + + deploy-sources + + + deploy + true + + + src + + + + + + maven-source-plugin + + + attach-sources + + jar-no-fork + + + + true + + + + release