Skip to content

Commit

Permalink
Enable JavaDoc generation in pom
Browse files Browse the repository at this point in the history
  • Loading branch information
Sn0wStorm committed Nov 28, 2020
1 parent b39bbf4 commit e0de12b
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
24 changes: 24 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<encoding>UTF-8</encoding>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
Expand All @@ -68,6 +69,29 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>

<configuration>
<doctitle>Brewery - Javadocs</doctitle>
<windowtitle>Brewery - Javadocs</windowtitle>
<additionalOptions>-Xdoclint:none</additionalOptions>
<quiet>true</quiet>
<detectOfflineLinks>false</detectOfflineLinks>
<noqualifier>org.bukkit.*</noqualifier>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
2 changes: 1 addition & 1 deletion src/com/dre/brewery/BSealer.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

/**
* The Sealing Inventory that is being checked for Brews and seals them after a second.
* <p>Class doesn't load in mc <= 1.12 (Can't find RecipeChoice, BlockData and NamespacedKey)
* <p>Class doesn't load in mc 1.12 and lower (Can't find RecipeChoice, BlockData and NamespacedKey)
*/
public class BSealer implements InventoryHolder {
public static final NamespacedKey TAG_KEY = new NamespacedKey(P.p, "SealingTable");
Expand Down
2 changes: 1 addition & 1 deletion src/com/dre/brewery/api/events/brew/BrewModifyEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public enum Type {
STATIC,

/**
* Sealing the Brew (unlabel & static & stripped) With Command or Machine
* Sealing the Brew (unlabel &amp; static &amp; stripped) With Command or Machine
*/
SEAL,

Expand Down
2 changes: 1 addition & 1 deletion src/com/dre/brewery/utility/BUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static String color(String msg) {
* @param currentPos Current Position
* @param nextColor Next Color
* @param nextPos Position of the Next Color
* @return
* @return Mixed Color
*/
public static Color weightedMixColor(Color prevColor, int prevPos, int currentPos, Color nextColor, int nextPos) {
float diffPrev = currentPos - prevPos;
Expand Down

0 comments on commit e0de12b

Please sign in to comment.