diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml
index 717ed8c..bc9bb03 100644
--- a/.github/workflows/maven-release.yml
+++ b/.github/workflows/maven-release.yml
@@ -11,6 +11,7 @@ jobs:
packages: write
env:
GITHUB_TOKEN: ${{ github.token }}
+ MARKDOWN2HTML_MAVEN_PLUGIN_FAIL_ON_ERROR: true
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Set up JDK and Maven
diff --git a/pom.xml b/pom.xml
index eb711f7..f140f92 100644
--- a/pom.xml
+++ b/pom.xml
@@ -50,6 +50,9 @@
${maven-jar-plugin.Extension-Context}
1.3.0
+
+
+ ${env.MARKDOWN2HTML_MAVEN_PLUGIN_FAIL_ON_ERROR}