From ef98cf739f4f1d8cc0e7db9c2c88f6b660de7ab6 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sun, 19 Nov 2023 12:33:34 +0100 Subject: [PATCH] Download Xerces into local m2 within pom.xml --- .github/workflows/build.yml | 3 --- pom.xml | 49 +++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f2be71d..1d9d72d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,9 +39,6 @@ jobs: java-version: '17' distribution: temurin cache: maven - - - name: Install Xerces with XSD 1.1 support in local M2 repository - run: ./bin/install-xerces-m2.sh - name: Update version if: steps.check-tag.outputs.tag diff --git a/pom.xml b/pom.xml index 5e8ed7d..d63fe57 100644 --- a/pom.xml +++ b/pom.xml @@ -13,6 +13,38 @@ 17 17 + + + POSIX + + + unix + + + + ./bin/install-xerces-m2.sh + + + + Windows + + + Windows + + + + .\bin\install-xerces-m2.bat + + + + default-profile + + + !unsetDefaultProfile + + + + @@ -65,6 +97,23 @@ + + org.codehaus.mojo + exec-maven-plugin + 3.1.1 + + + default-cli + + exec + + validate + + ${scriptFile} + + + + org.apache.maven.plugins maven-compiler-plugin