From 842d8f304af8ba7c661c36f1c397d82b3aae8861 Mon Sep 17 00:00:00 2001 From: Manfred Riem Date: Sat, 7 Sep 2024 10:08:23 -0500 Subject: [PATCH] Fixes #3922 - Set compiler version for CDI job in Core Profile TCK workflow (#3923) --- .github/workflows/build-docs.yml | 1 + .github/workflows/build.yml | 3 +- external/tck/coreprofile/cdi/runner/pom.xml | 37 +++++++++++++-------- 3 files changed, 25 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 688232afc3..f30cd93e00 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -8,6 +8,7 @@ on: - 'current' tags-ignore: - 'v*' + workflow_dispatch: jobs: docs: runs-on: ubuntu-latest diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index efa72e1496..6d7efbee9d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,8 +3,6 @@ on: push: branches: - '*' - paths-ignore: - - 'docs/**' tags-ignore: - 'v*' pull_request: @@ -12,6 +10,7 @@ on: - '*' paths-ignore: - 'docs/**' + workflow_dispatch: jobs: build: runs-on: ${{ matrix.os }} diff --git a/external/tck/coreprofile/cdi/runner/pom.xml b/external/tck/coreprofile/cdi/runner/pom.xml index 55ec41e652..052ee339e5 100644 --- a/external/tck/coreprofile/cdi/runner/pom.xml +++ b/external/tck/coreprofile/cdi/runner/pom.xml @@ -1,8 +1,8 @@ + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 cloud.piranha.external.tck.coreprofile cdi-runner @@ -102,9 +102,9 @@ + The TCK Core implementation contains test helper code such as the Configuration implementation + and the ArchiveBuilder, as well as a large amount of tests. + --> jakarta.enterprise cdi-tck-core-impl @@ -194,7 +194,17 @@ + org.apache.maven.plugins + maven-compiler-plugin + 3.13.0 + + 21 + + + + org.apache.maven.plugins maven-dependency-plugin + 3.8.0 @@ -231,14 +241,14 @@ + + Create a JAR file for the test resources and stick it in + ${project.build.directory}/dependency/lib so it can be + referred to by org.jboss.cdi.tck.libraryDirectory + property when the time comes. Needed for + META-INF/cdi-tck.properties resolution. + + --> org.apache.maven.plugins maven-jar-plugin @@ -298,7 +308,6 @@ ${project.build.directory}/dependency/lib - true