Fix and improve Javadoc generation

This commit is contained in:
filoghost 2021-08-31 10:45:10 +02:00
parent d2130fe162
commit 40d7876bd8
3 changed files with 103 additions and 3 deletions

View File

@ -0,0 +1,2 @@
org.intellij.lang.annotations
org.jetbrains.annotations

View File

@ -0,0 +1,57 @@
org.bukkit
org.bukkit.advancement
org.bukkit.attribute
org.bukkit.block
org.bukkit.block.banner
org.bukkit.block.data
org.bukkit.block.data.type
org.bukkit.block.structure
org.bukkit.boss
org.bukkit.command
org.bukkit.command.defaults
org.bukkit.configuration
org.bukkit.configuration.file
org.bukkit.configuration.serialization
org.bukkit.conversations
org.bukkit.enchantments
org.bukkit.entity
org.bukkit.entity.memory
org.bukkit.entity.minecart
org.bukkit.event
org.bukkit.event.block
org.bukkit.event.enchantment
org.bukkit.event.entity
org.bukkit.event.hanging
org.bukkit.event.inventory
org.bukkit.event.player
org.bukkit.event.raid
org.bukkit.event.server
org.bukkit.event.vehicle
org.bukkit.event.weather
org.bukkit.event.world
org.bukkit.generator
org.bukkit.help
org.bukkit.inventory
org.bukkit.inventory.meta
org.bukkit.inventory.meta.tags
org.bukkit.loot
org.bukkit.map
org.bukkit.material
org.bukkit.material.types
org.bukkit.metadata
org.bukkit.permissions
org.bukkit.persistence
org.bukkit.plugin
org.bukkit.plugin.java
org.bukkit.plugin.messaging
org.bukkit.potion
org.bukkit.projectiles
org.bukkit.scheduler
org.bukkit.scoreboard
org.bukkit.util
org.bukkit.util.io
org.bukkit.util.noise
org.bukkit.util.permissions
org.spigotmc
org.spigotmc.event.entity
org.spigotmc.event.player

47
pom.xml
View File

@ -251,17 +251,41 @@
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.9.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.1.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<version>3.3.0</version>
<configuration>
<sourceFileIncludes>
<include>**/holographicdisplays/api/**/*.java</include>
<include>**/me/filoghost/holographicdisplays/api/**/*.java</include>
</sourceFileIncludes>
<sourceFileExcludes>
<exclude>**/holographicdisplays/api/internal/**/*.java</exclude>
<exclude>**/me/filoghost/holographicdisplays/api/internal/**/*.java</exclude>
</sourceFileExcludes>
<windowtitle>Holographic Displays API</windowtitle>
<doctitle>Holographic Displays API &amp;ndash; ${project.version}</doctitle>
<offlineLinks>
<offlineLink>
<url>https://javadoc.io/doc/org.jetbrains/annotations/latest</url>
<location>${basedir}/javadoc/jetbrains-annotations</location>
</offlineLink>
<offlineLink>
<url>https://hub.spigotmc.org/javadocs/spigot</url>
<location>${basedir}/javadoc/spigot</location>
</offlineLink>
</offlineLinks>
</configuration>
</plugin>
@ -376,4 +400,21 @@
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<reportSets>
<reportSet>
<configuration>
<skip>true</skip>
</configuration>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</project>