Skip to content

Commit

Permalink
MET-5474: Update to jdk21 build (#7)
Browse files Browse the repository at this point in the history
Upgrade jacoco plugin version

(cherry picked from commit 3fda889)
  • Loading branch information
stzanakis committed Jan 29, 2024
1 parent 66df244 commit 80a3a38
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: push
jobs:

ci:
uses: europeana/metis-actions/.github/workflows/ci.yml@jdk17
uses: europeana/metis-actions/.github/workflows/ci.yml@jdk21
with:
sonar_organization: europeana
sonar_project_key: europeana_metis-schema
Expand All @@ -14,7 +14,7 @@ jobs:

deploy-artifacts:
needs: ci
uses: europeana/metis-actions/.github/workflows/deploy-artifacts.yml@jdk17
uses: europeana/metis-actions/.github/workflows/deploy-artifacts.yml@jdk21
secrets:
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

jobs:
ci-release:
uses: europeana/metis-actions/.github/workflows/release.yml@jdk17
uses: europeana/metis-actions/.github/workflows/release.yml@jdk21
with:
release-version: ${{ github.event.inputs.release-version }}
commit-hash-branch: ${{ github.event.inputs.commit-hash-branch }}
Expand Down
8 changes: 7 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<version.maven.resources.plugin>3.2.0</version.maven.resources.plugin>
<version.maven.compiler.plugin>3.8.1</version.maven.compiler.plugin>
<version.surefire.plugin>2.22.1</version.surefire.plugin>
<version.jacoco-maven-plugin>0.8.11</version.jacoco-maven-plugin>
</properties>

<dependencies>
Expand Down Expand Up @@ -104,9 +105,14 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>${version.maven.compiler.plugin}</version>
<configuration>
<release>17</release>
<release>21</release>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${version.jacoco-maven-plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down

0 comments on commit 80a3a38

Please sign in to comment.