Skip to content

Commit

Permalink
ci(maven): upgrade to maven 4
Browse files Browse the repository at this point in the history
  • Loading branch information
mpumd committed Oct 18, 2024
1 parent 7ae379e commit 26826f8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,24 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Git checkout
- uses: actions/checkout@v4
- name: Set up JDK 21

- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Setup Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 4.0.0-beta-4

- name: check version of build tools
run: mvn -v

# build env
- name: Build with Maven
run: mvn -B package org.pitest:pitest-maven:mutationCoverage --file pom.xml

Expand Down
8 changes: 4 additions & 4 deletions application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<parent>
<groupId>com.mpumd.poc</groupId>
<artifactId>person</artifactId>
<version>1.0-SNAPSHOT</version>
<!-- <version>1.0-SNAPSHOT</version>-->
</parent>

<artifactId>application</artifactId>
<properties>
<context-person.version>1.0-SNAPSHOT</context-person.version>
</properties>
<!-- <properties>-->
<!-- <context-person.version>1.0-SNAPSHOT</context-person.version>-->
<!-- </properties>-->

<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion context-person/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.mpumd.poc</groupId>
<artifactId>person</artifactId>
<version>1.0-SNAPSHOT</version>
<!-- <version>1.0-SNAPSHOT</version>-->
</parent>

<artifactId>context-person</artifactId>
Expand Down

0 comments on commit 26826f8

Please sign in to comment.