Skip to content

Commit

Permalink
Add configuration for asciidoctor to fail builds when error exist
Browse files Browse the repository at this point in the history
  • Loading branch information
alfeilex committed Oct 1, 2024
1 parent 00b7dd6 commit 863f21a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions documentation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,23 @@
<revision>dev-SNAPSHOT</revision>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>${asciidoctor.maven.plugin.version}</version>
<configuration>
<logHandler>
<outputToConsole>false</outputToConsole>
<failIf>
<severity>ERROR</severity>
</failIf>
</logHandler>
</configuration>
</plugin>
</plugins>
</build>

<!-- run "mvn package" and get the PDF result in target/generated-docs/*.pdf -->
</project>

0 comments on commit 863f21a

Please sign in to comment.