Add maven-javadoc-plugin to catch javadoc errors prior to release

This commit is contained in:
Adam
2017-05-26 17:25:09 -04:00
parent 2e3028f664
commit 2143973127
2 changed files with 16 additions and 2 deletions

14
pom.xml
View File

@@ -94,6 +94,20 @@
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
</plugin>
<!-- maven-release-plugin runs maven-javadoc-plugin as one of its
release steps, so run it on goal jar to detect errors -->
<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>
</plugins>
<extensions>
<extension>

View File

@@ -36,8 +36,8 @@ public class PlayerComposition
}
/**
* Get equipment ids. If id is >= 256 && < 512 then subtract 256 and the id is a kit definition.
* If the id is >= 512 then subtract 512 and the id is an item id.
* Get equipment ids. If id is &ge; 256 &amp;&amp; &lt; 512 then subtract 256 and the id is a kit definition.
* If the id is &ge; 512 then subtract 512 and the id is an item id.
*
* @return
*/