Open ginkel opened 3 years ago
Could you please provide a simple example to reproduce?
+1, there are actually two issues with plantuml integration:
Would be great to work out of the box (can be tested with maven:3.8.6-amazoncorretto-17
docker image).
To let the build fail asciidoctor-diagram would need to use Asciidoctor's logging facility. But that's sth that would need to be implemented in asciidoctor/asciidoctor-diagram.
Same for the pure java implementation of graphviz, it might be added to asciidoctor/asciidoctor-diagram, or provided as a dedicated extension, but there's not much to do about this in this repo.
Hi there,
when using
asciidoctorj-diagram
along withasciidoctor-maven-plugin
to generate inline PlantUML diagrams from within the Maven build, a missingdot
executable does not cause the build to fail, but the images are silently not generated. The following log is emitted to STDOUT:Unfortunately, I have not been able to identify a means of getting the build to fail in this situation using
asciidoctor-maven-plugin
'slogHandler
directive, as the error seems to be emitted viae.printStackTrace()
and no error is logged via the regular logging mechanism.Any idea how to fail the build in this situation is much appreciated!
Thanks, ThIlo