Skip to content

Commit e0de12b

Browse files
committed
Enable JavaDoc generation in pom
1 parent b39bbf4 commit e0de12b

File tree

4 files changed

+27
-3
lines changed

4 files changed

+27
-3
lines changed

pom.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
<encoding>UTF-8</encoding>
4343
</configuration>
4444
</plugin>
45+
4546
<plugin>
4647
<groupId>org.apache.maven.plugins</groupId>
4748
<artifactId>maven-shade-plugin</artifactId>
@@ -68,6 +69,29 @@
6869
</execution>
6970
</executions>
7071
</plugin>
72+
73+
<plugin>
74+
<groupId>org.apache.maven.plugins</groupId>
75+
<artifactId>maven-javadoc-plugin</artifactId>
76+
<version>3.2.0</version>
77+
<executions>
78+
<execution>
79+
<phase>install</phase>
80+
<goals>
81+
<goal>jar</goal>
82+
</goals>
83+
</execution>
84+
</executions>
85+
86+
<configuration>
87+
<doctitle>Brewery - Javadocs</doctitle>
88+
<windowtitle>Brewery - Javadocs</windowtitle>
89+
<additionalOptions>-Xdoclint:none</additionalOptions>
90+
<quiet>true</quiet>
91+
<detectOfflineLinks>false</detectOfflineLinks>
92+
<noqualifier>org.bukkit.*</noqualifier>
93+
</configuration>
94+
</plugin>
7195
</plugins>
7296
</build>
7397

src/com/dre/brewery/BSealer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
/**
2121
* The Sealing Inventory that is being checked for Brews and seals them after a second.
22-
* <p>Class doesn't load in mc <= 1.12 (Can't find RecipeChoice, BlockData and NamespacedKey)
22+
* <p>Class doesn't load in mc 1.12 and lower (Can't find RecipeChoice, BlockData and NamespacedKey)
2323
*/
2424
public class BSealer implements InventoryHolder {
2525
public static final NamespacedKey TAG_KEY = new NamespacedKey(P.p, "SealingTable");

src/com/dre/brewery/api/events/brew/BrewModifyEvent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public enum Type {
102102
STATIC,
103103

104104
/**
105-
* Sealing the Brew (unlabel & static & stripped) With Command or Machine
105+
* Sealing the Brew (unlabel &amp; static &amp; stripped) With Command or Machine
106106
*/
107107
SEAL,
108108

src/com/dre/brewery/utility/BUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public static String color(String msg) {
5858
* @param currentPos Current Position
5959
* @param nextColor Next Color
6060
* @param nextPos Position of the Next Color
61-
* @return
61+
* @return Mixed Color
6262
*/
6363
public static Color weightedMixColor(Color prevColor, int prevPos, int currentPos, Color nextColor, int nextPos) {
6464
float diffPrev = currentPos - prevPos;

0 commit comments

Comments
 (0)