From 4013e4f8cb24af792c7bc1d64545afa63ed5d61b Mon Sep 17 00:00:00 2001 From: EspiDev Date: Fri, 14 Jun 2019 13:55:09 -0400 Subject: [PATCH] Added javadoc and sources jar to maven --- .gitignore | 1 + pom.xml | 26 +++++++++++++++++++ .../dev/espi/ProtectionStones/PSRegion.java | 2 +- 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b9256a2e..f507bae9 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /.classpath /.project /dependency-reduced-pom.xml +/*.iml \ No newline at end of file diff --git a/pom.xml b/pom.xml index 00aa847d..265ea3f9 100644 --- a/pom.xml +++ b/pom.xml @@ -92,6 +92,32 @@ + + org.apache.maven.plugins + maven-javadoc-plugin + + + attach-javadocs + + jar + + + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + + jar + + + + + diff --git a/src/main/java/dev/espi/ProtectionStones/PSRegion.java b/src/main/java/dev/espi/ProtectionStones/PSRegion.java index fffba866..f4c27e2c 100644 --- a/src/main/java/dev/espi/ProtectionStones/PSRegion.java +++ b/src/main/java/dev/espi/ProtectionStones/PSRegion.java @@ -82,7 +82,7 @@ public ArrayList getMembers() { /** * Deletes the region forever. Can be cancelled by event cancellation. * @param deleteBlock whether or not to also set the protection block to air (if not hidden) - * @returns whether or not the region was able to be successfully removed + * @return whether or not the region was able to be successfully removed */ public boolean deleteRegion(boolean deleteBlock) {