Skip to content

Commit

Permalink
Add Javadoc and sources (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
merlimat authored Jan 30, 2024
1 parent 3ccfd49 commit 95ffb86
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 2 deletions.
3 changes: 2 additions & 1 deletion etc/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
<!-- Excludes all 'module-info.java' files -->
<!-- See https://checkstyle.org/config_filefilters.html -->
<module name="BeforeExecutionExclusionFileFilter">
<property name="fileNamePattern" value="module\-info\.java$"/>
<property name="fileNamePattern"
value=".*[\\/]generated-sources[\\/].*$"/>
</module>

<!-- https://checkstyle.org/config_filters.html#SuppressionFilter -->
Expand Down
36 changes: 35 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
</java>
<markdown>
<includes>
<include>**/*.md</include>
<include>**/README.md</include>
</includes>
<flexmark/>
</markdown>
Expand Down Expand Up @@ -349,6 +349,40 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<configuration>
<doclint>none</doclint>
<notimestamp>true</notimestamp>
<sourceFileExcludes>
<sourceFileExclude>**/generated-sources/*.java</sourceFileExclude>
</sourceFileExcludes>
</configuration>
<executions>
<execution>
<goals>
<goal>javadoc</goal>
<goal>jar</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
Expand Down

0 comments on commit 95ffb86

Please sign in to comment.