📝 Added Javadoc

This commit is contained in:
SBDeveloper 2022-07-01 14:25:55 +02:00
parent c02cf06392
commit 771a0210d9
2 changed files with 35 additions and 0 deletions

View file

@ -52,6 +52,8 @@ controller.showInFrame(p, frame, true);
controller.showInHand(p, true); controller.showInHand(p, true);
``` ```
More information can be found on the [JavaDoc](https://sbdplugins.nl/javadoc/mapreflectionapi/).
## Credits: ## Credits:
This is a fork of [MapManager](https://github.com/InventivetalentDev/MapManager). It updates the API to 1.19 and uses This is a fork of [MapManager](https://github.com/InventivetalentDev/MapManager). It updates the API to 1.19 and uses

33
pom.xml
View file

@ -38,6 +38,7 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.lombok.delombok-target>${project.build.directory}/javadoc-delombok</maven.lombok.delombok-target>
</properties> </properties>
<distributionManagement> <distributionManagement>
@ -107,6 +108,38 @@
<skipStaging>true</skipStaging> <skipStaging>true</skipStaging>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-maven-plugin</artifactId>
<version>1.18.20.0</version>
<configuration>
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
<outputDirectory>${maven.lombok.delombok-target}</outputDirectory>
<addOutputDirectory>false</addOutputDirectory>
</configuration>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>delombok</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.0</version>
<configuration>
<release>11</release>
<sourcepath>${maven.lombok.delombok-target}</sourcepath>
<sourceFileExcludes>
<sourceFileExclude>**/tech/sbdevelopment/mapreflectionapi/*.java</sourceFileExclude>
<sourceFileExclude>**/tech/sbdevelopment/mapreflectionapi/utils/*.java</sourceFileExclude>
<sourceFileExclude>**/tech/sbdevelopment/mapreflectionapi/listeners/*.java</sourceFileExclude>
</sourceFileExcludes>
</configuration>
</plugin>
</plugins> </plugins>
<resources> <resources>
<resource> <resource>