Skip to content

Commit

Permalink
fix javadoc error on Lombok annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
max402 committed Jun 25, 2024
1 parent cc4a88a commit 3aa92bb
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 7 deletions.
31 changes: 27 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@
<buildnumber-maven-plugin.version>3.2.0</buildnumber-maven-plugin.version>
<maven-deploy-plugin.version>3.1.2</maven-deploy-plugin.version>
<maven-gpg-plugin.version>3.2.4</maven-gpg-plugin.version>
<maven-javadoc-plugin.version>3.6.0</maven-javadoc-plugin.version>
<maven-javadoc-plugin.version>3.7.0</maven-javadoc-plugin.version>
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
<lombok.version>1.18.32</lombok.version>
<lombok-maven-plugin.version>1.18.20.0</lombok-maven-plugin.version>
</properties>

<modules>
Expand Down Expand Up @@ -466,8 +469,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>

<version>${maven-compiler-plugin.version}</version>
</plugin>

<plugin>
Expand Down Expand Up @@ -515,7 +517,7 @@
<plugin>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-maven-plugin</artifactId>
<version>1.18.20.0</version>
<version>${lombok-maven-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down Expand Up @@ -574,13 +576,34 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-maven-plugin</artifactId>
<version>${lombok-maven-plugin.version}</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>delombok</goal>
</goals>
<configuration>
<addOutputDirectory>false</addOutputDirectory>
<sourceDirectory>src/main/java</sourceDirectory>
<outputDirectory>
${project.build.directory}/delombok
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<configuration>
<source>17</source>
<doclint>none</doclint>
<sourcepath>target/generated-sources/delombok</sourcepath>
</configuration>
<executions>
<execution>
Expand Down
1 change: 0 additions & 1 deletion sts-pop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
Expand Down
1 change: 0 additions & 1 deletion sts-server-info/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
Expand Down
1 change: 0 additions & 1 deletion sts-token/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
Expand Down

0 comments on commit 3aa92bb

Please sign in to comment.