Skip to content

Commit 4d0100f

Browse files
add: java doc in workflow
1 parent bfd2de2 commit 4d0100f

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/java-compilation.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ jobs:
1414
java-version: '17'
1515
distribution: 'temurin'
1616
- name: Compilation with Maven
17-
run: mvn compile
17+
run: mvn compile
18+
- name: JavaDoc
19+
run: mvn javadoc:javadoc

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,15 @@
187187
<version>3.5.0</version>
188188
<configuration>
189189
<source>1.8</source>
190+
<failOnError>true</failOnError>
191+
<failOnWarnings>true</failOnWarnings>
190192
</configuration>
191193
<executions>
192194
<execution>
195+
<configuration>
196+
<failOnError>true</failOnError>
197+
<failOnWarnings>true</failOnWarnings>
198+
</configuration>
193199
<id>attach-javadocs</id>
194200
<goals>
195201
<goal>jar</goal>

0 commit comments

Comments
 (0)