Skip to content

Commit

Permalink
Added javadoc and sources jar to maven
Browse files Browse the repository at this point in the history
  • Loading branch information
espidev committed Jun 14, 2019
1 parent bae82a4 commit 4013e4f
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
/.classpath
/.project
/dependency-reduced-pom.xml
/*.iml
26 changes: 26 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,32 @@
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>
</build>

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/dev/espi/ProtectionStones/PSRegion.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public ArrayList<UUID> 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) {

Expand Down

0 comments on commit 4013e4f

Please sign in to comment.