Skip to content

Commit e8fafe0

Browse files
authored
1 parent b4e4d40 commit e8fafe0

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

.github/workflows/maven.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
key: ${{ runner.os }}-sonar
4444
restore-keys: ${{ runner.os }}-sonar
4545
- name: Build
46-
run: ./mvnw -B -V -ff -ntp install
46+
run: ./mvnw -B -V -ff -ntp install javadoc:javadoc
4747
- name: Analyze with SonarCloud
4848
if: ${{ env.SONAR_TOKEN != null && env.SONAR_TOKEN != '' && matrix.java_version == '17' }}
4949
env:

pom.xml

+13-9
Original file line numberDiff line numberDiff line change
@@ -230,13 +230,6 @@
230230
<plugin>
231231
<groupId>org.apache.maven.plugins</groupId>
232232
<artifactId>maven-javadoc-plugin</artifactId>
233-
<version>3.6.0</version>
234-
<configuration>
235-
<source>8</source>
236-
<doclint>none</doclint>
237-
<quiet>true</quiet>
238-
<notimestamp>true</notimestamp>
239-
</configuration>
240233
<executions>
241234
<execution>
242235
<id>attach-javadocs</id>
@@ -316,15 +309,26 @@
316309
<artifactId>maven-deploy-plugin</artifactId>
317310
<version>3.1.1</version>
318311
</plugin>
312+
<plugin>
313+
<groupId>org.apache.maven.plugins</groupId>
314+
<artifactId>maven-javadoc-plugin</artifactId>
315+
<version>3.6.0</version>
316+
<configuration>
317+
<source>8</source>
318+
<doclint>none</doclint>
319+
<quiet>true</quiet>
320+
<notimestamp>true</notimestamp>
321+
<legacyMode>true</legacyMode>
322+
</configuration>
323+
</plugin>
319324
</plugins>
320325
</pluginManagement>
321326
<plugins>
322327
<plugin>
323328
<groupId>org.apache.maven.plugins</groupId>
324329
<artifactId>maven-compiler-plugin</artifactId>
325330
<configuration>
326-
<source>1.8</source>
327-
<target>1.8</target>
331+
<release>8</release>
328332
<fork>true</fork>
329333
<parameters>true</parameters>
330334
<showWarnings>true</showWarnings>

0 commit comments

Comments
 (0)