diff --git a/src/main/java/com/github/choonchernlim/springbootmail/JavaDocHack.java b/src/main/java/com/github/choonchernlim/springbootmail/JavaDocHack.java new file mode 100644 index 0000000..7dba579 --- /dev/null +++ b/src/main/java/com/github/choonchernlim/springbootmail/JavaDocHack.java @@ -0,0 +1,12 @@ +package com.github.choonchernlim.springbootmail; + +/** + * This is a temporary hack to allow `maven-javadoc-plugin` to generate a `*-javadoc.jar` artifact + * to satisfy OSSRH rule in order to successfully perform a `mvn deploy`. + *

+ * The reason is because the source code are all written in Groovy, hence `maven-javadoc-plugin` will not + * generate `*-javadoc.jar` because no Java files exist. + */ +@SuppressWarnings("unused") +public final class JavaDocHack { +}