From 686baca098f49ea2562b74465e723a4eced524eb Mon Sep 17 00:00:00 2001 From: Ozgun OZ Date: Sun, 14 Jul 2024 14:07:44 +0200 Subject: [PATCH] fix maven central publishing conditions --- extension/pom.xml | 7 +++++-- extension/src/main/java/JavaDoc.java | 7 +++++++ library/pom.xml | 3 +++ pom.xml | 9 ++++----- 4 files changed, 19 insertions(+), 7 deletions(-) create mode 100644 extension/src/main/java/JavaDoc.java diff --git a/extension/pom.xml b/extension/pom.xml index 4c59999..441d59a 100644 --- a/extension/pom.xml +++ b/extension/pom.xml @@ -4,12 +4,15 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - guice-exporter-maven-extension - com.homeofthewizard spring-bridge-maven-parent 1.0.0-alpha + guice-exporter-maven-extension + Guice API Exporter Extension + A Maven Core extension to expose the Guice api to plugins + https://github.com/homeofthewizard/spring-bridge-maven + \ No newline at end of file diff --git a/extension/src/main/java/JavaDoc.java b/extension/src/main/java/JavaDoc.java new file mode 100644 index 0000000..39cbd72 --- /dev/null +++ b/extension/src/main/java/JavaDoc.java @@ -0,0 +1,7 @@ +/** + * This is a class only to workaround the following issue and generate a javadoc for the project. + * https://bugs.openjdk.org/browse/JDK-4492654 + * The project does not contain any java class. The jar package of this project contains only a maven extension config file: META-INF/maven/extension.xml + */ +public class JavaDoc { +} diff --git a/library/pom.xml b/library/pom.xml index b542c95..bc5813a 100644 --- a/library/pom.xml +++ b/library/pom.xml @@ -11,6 +11,9 @@ spring-bridge-maven + Spring Bridge Maven Library + A Library that allows using Spring Libraries in Maven plugins + https://github.com/homeofthewizard/spring-bridge-maven diff --git a/pom.xml b/pom.xml index d66ddc4..80cc162 100644 --- a/pom.xml +++ b/pom.xml @@ -82,7 +82,10 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.6.3 + 3.7.0 + + true + org.apache.maven.plugins @@ -101,7 +104,6 @@ org.jreleaser jreleaser-maven-plugin - false @@ -143,9 +145,6 @@ jar - - true -