Skip to content

Commit

Permalink
HSEARCH-3601 Abort the Maven build on asciidoctor processing warnings…
Browse files Browse the repository at this point in the history
…/errors

E.g. if there are invalid internal links.
  • Loading branch information
yrodiere authored and fax4ever committed Jun 17, 2019
1 parent ed9e9a3 commit 9a79a1b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pom.xml
Expand Up @@ -1665,6 +1665,16 @@
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>${version.asciidoctor.plugin}</version>
<configuration>
<!-- Enabled to validate internal links -->
<enableVerbose>true</enableVerbose>
<!-- Abort the build if something seems wrong -->
<logHandler>
<failIf>
<severity>WARN</severity>
</failIf>
</logHandler>
</configuration>
<dependencies>
<dependency>
<groupId>org.jruby</groupId>
Expand Down

0 comments on commit 9a79a1b

Please sign in to comment.