mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
Add JavaDoc build badge and reconfigure plugin to indicate JavaDoc warnings/errors (#3886)
* Add JavaDoc build badge * Add dependency to upgradetool to fix remaining JavaDoc error * Fail JavaDoc build on JavaDoc warnings/errors * Upgrade maven-javadoc-plugin to fix it failures even if there are no warnings/errors * Enable legacyMode to workaround JPMS issues in newer maven-javadoc-plugin versions Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
[](https://github.com/openhab/openhab-core/actions/workflows/ci-build.yml)
|
[](https://github.com/openhab/openhab-core/actions/workflows/ci-build.yml)
|
||||||
[](https://ci.openhab.org/job/openHAB-Core/)
|
[](https://ci.openhab.org/job/openHAB-Core/)
|
||||||
|
[](https://ci.openhab.org/view/Documentation/job/openHAB-JavaDoc/)
|
||||||
[](https://opensource.org/licenses/EPL-2.0)
|
[](https://opensource.org/licenses/EPL-2.0)
|
||||||
[](https://crowdin.com/project/openhab-core)
|
[](https://crowdin.com/project/openhab-core)
|
||||||
|
|
||||||
|
|||||||
@@ -326,10 +326,12 @@ Import-Package: \\
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<version>3.2.0</version>
|
<version>3.6.2</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<failOnError>!${quality.skip}</failOnError>
|
<failOnError>true</failOnError>
|
||||||
|
<failOnWarnings>true</failOnWarnings>
|
||||||
<doclint>none</doclint>
|
<doclint>none</doclint>
|
||||||
|
<legacyMode>true</legacyMode>
|
||||||
<excludePackageNames>*.internal,*.internal.*</excludePackageNames>
|
<excludePackageNames>*.internal,*.internal.*</excludePackageNames>
|
||||||
<!-- The search function is broken without the workaround below -->
|
<!-- The search function is broken without the workaround below -->
|
||||||
<!-- See: https://stackoverflow.com/questions/52326318/maven-javadoc-search-redirects-to-undefined-url -->
|
<!-- See: https://stackoverflow.com/questions/52326318/maven-javadoc-search-redirects-to-undefined-url -->
|
||||||
|
|||||||
@@ -38,6 +38,11 @@
|
|||||||
<artifactId>commons-cli</artifactId>
|
<artifactId>commons-cli</artifactId>
|
||||||
<version>1.5.0</version>
|
<version>1.5.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.osgi</groupId>
|
||||||
|
<artifactId>org.osgi.service.component.annotations</artifactId>
|
||||||
|
<version>1.5.0</version>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.slf4j</groupId>
|
<groupId>org.slf4j</groupId>
|
||||||
<artifactId>slf4j-simple</artifactId>
|
<artifactId>slf4j-simple</artifactId>
|
||||||
|
|||||||
Reference in New Issue
Block a user