Skip to content

Commit

Permalink
Use new maven-javadoc-plugin legacyMode (#3594)
Browse files Browse the repository at this point in the history
  • Loading branch information
joschi authored Sep 26, 2023
1 parent b4e4d40 commit e8fafe0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Build
run: ./mvnw -B -V -ff -ntp install
run: ./mvnw -B -V -ff -ntp install javadoc:javadoc
- name: Analyze with SonarCloud
if: ${{ env.SONAR_TOKEN != null && env.SONAR_TOKEN != '' && matrix.java_version == '17' }}
env:
Expand Down
22 changes: 13 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -230,13 +230,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<source>8</source>
<doclint>none</doclint>
<quiet>true</quiet>
<notimestamp>true</notimestamp>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
Expand Down Expand Up @@ -316,15 +309,26 @@
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<source>8</source>
<doclint>none</doclint>
<quiet>true</quiet>
<notimestamp>true</notimestamp>
<legacyMode>true</legacyMode>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<release>8</release>
<fork>true</fork>
<parameters>true</parameters>
<showWarnings>true</showWarnings>
Expand Down

0 comments on commit e8fafe0

Please sign in to comment.