Added delombok for better javadoc
This commit is contained in:
parent
95c29f7678
commit
071bf5830b
1 changed files with 23 additions and 2 deletions
25
pom.xml
25
pom.xml
|
@ -13,7 +13,9 @@
|
||||||
|
|
||||||
<description>Create shows easily using this plugin!</description>
|
<description>Create shows easily using this plugin!</description>
|
||||||
<properties>
|
<properties>
|
||||||
|
<release>11</release>
|
||||||
<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>
|
||||||
|
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
|
@ -39,7 +41,7 @@
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.11.0</version>
|
<version>3.11.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<release>11</release>
|
<release>${release}</release>
|
||||||
<annotationProcessorPaths>
|
<annotationProcessorPaths>
|
||||||
<path>
|
<path>
|
||||||
<groupId>org.projectlombok</groupId>
|
<groupId>org.projectlombok</groupId>
|
||||||
|
@ -92,12 +94,31 @@
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</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>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<version>3.6.0</version>
|
<version>3.6.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<release>11</release>
|
<release>${release}</release>
|
||||||
|
<sourcepath>${maven.lombok.delombok-target}</sourcepath>
|
||||||
<additionalJOption>--no-module-directories</additionalJOption> <!-- Fix for undefined in search -->
|
<additionalJOption>--no-module-directories</additionalJOption> <!-- Fix for undefined in search -->
|
||||||
<sourceFileIncludes>
|
<sourceFileIncludes>
|
||||||
<sourceFileInclude>**/tech/sbdevelopment/showcontrol/api/**</sourceFileInclude>
|
<sourceFileInclude>**/tech/sbdevelopment/showcontrol/api/**</sourceFileInclude>
|
||||||
|
|
Loading…
Add table
Reference in a new issue