From 42d4e6f8e42f6c87fa34218df5e7722b49c7622c Mon Sep 17 00:00:00 2001 From: Sergey Grigoriev Date: Tue, 16 Jul 2024 20:53:59 +0200 Subject: [PATCH] build: MARKDOWN2HTML_MAVEN_PLUGIN_FAIL_ON_ERROR env variable for GitHub builds added --- .github/workflows/maven-release.yml | 1 + lombok.config | 4 ++++ pom.xml | 3 +++ 3 files changed, 8 insertions(+) create mode 100644 lombok.config diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index ccaffa2..e91e093 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/lombok.config b/lombok.config new file mode 100644 index 0000000..f202d30 --- /dev/null +++ b/lombok.config @@ -0,0 +1,4 @@ +# tells Lombok that this is the root directory and that it shouldn’t search parent directories for more configuration files +config.stopBubbling = true +# tells Lombok to add @lombok.Generated annotation to all generated methods +lombok.addLombokGeneratedAnnotation = true \ No newline at end of file diff --git a/pom.xml b/pom.xml index e204bb5..2378a46 100644 --- a/pom.xml +++ b/pom.xml @@ -48,6 +48,9 @@ ch.sbb.polarion.extension.api_extender ${maven-jar-plugin.Extension-Context} + + + ${env.MARKDOWN2HTML_MAVEN_PLUGIN_FAIL_ON_ERROR}