Skip to content

Commit

Permalink
Add configuration for asciidoctor to fail builds when error exist (de…
Browse files Browse the repository at this point in the history
…vonfw#674)

Co-authored-by: jan-vcapgemini <59438728+jan-vcapgemini@users.noreply.github.com>
Co-authored-by: Jörg Hohwiller <hohwille@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 15, 2024
1 parent 51a16e1 commit 2b939e7
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 2b939e7

Please sign in to comment.