Skip to content

Commit

Permalink
Fixes #3922 - Set compiler version for CDI job in Core Profile TCK wo…
Browse files Browse the repository at this point in the history
…rkflow (#3923)
  • Loading branch information
mnriem authored Sep 7, 2024
1 parent af76360 commit 842d8f3
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 16 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- 'current'
tags-ignore:
- 'v*'
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@ on:
push:
branches:
- '*'
paths-ignore:
- 'docs/**'
tags-ignore:
- 'v*'
pull_request:
branches:
- '*'
paths-ignore:
- 'docs/**'
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down
37 changes: 23 additions & 14 deletions external/tck/coreprofile/cdi/runner/pom.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>

<project xmlns="http://maven.apache.org/POM/4.0.0"
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">
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">
<modelVersion>4.0.0</modelVersion>
<groupId>cloud.piranha.external.tck.coreprofile</groupId>
<artifactId>cdi-runner</artifactId>
Expand Down Expand Up @@ -102,9 +102,9 @@
</dependency>

<!--
The TCK Core implementation contains test helper code such as the Configuration implementation
and the ArchiveBuilder, as well as a large amount of tests.
-->
The TCK Core implementation contains test helper code such as the Configuration implementation
and the ArchiveBuilder, as well as a large amount of tests.
-->
<dependency>
<groupId>jakarta.enterprise</groupId>
<artifactId>cdi-tck-core-impl</artifactId>
Expand Down Expand Up @@ -194,7 +194,17 @@
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<release>21</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.8.0</version>
<executions>
<!-- Copy the TestNG suite file -->
<execution>
Expand Down Expand Up @@ -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.
-->
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.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
Expand Down Expand Up @@ -298,7 +308,6 @@
<org.jboss.cdi.tck.libraryDirectory>
${project.build.directory}/dependency/lib</org.jboss.cdi.tck.libraryDirectory>
</systemPropertyVariables>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 842d8f3

Please sign in to comment.