Skip to content

Commit

Permalink
Build with Maven 4
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Jun 25, 2024
1 parent aaf6d01 commit a21d656
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
java: [11, 17, 21]
java: [17, 21]
fail-fast: false

runs-on: ${{ matrix.os }}
Expand All @@ -49,7 +49,7 @@ jobs:
cache: 'maven'

- name: Set up Maven
run: mvn --errors --batch-mode --show-version wrapper:wrapper "-Dtype=only-script" "-Dmaven=3.9.7"
run: mvn --errors --batch-mode --show-version wrapper:wrapper "-Dtype=only-script" "-Dmaven=4.0.0-beta-3"

- name: Running integration tests
run: "./mvnw -B clean install -Prun-its,embedded -Dmaven.repo.local=`pwd`/repo"
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<modelVersion>4.0.0</modelVersion>

<groupId>org.apache.maven.its.mng7819</groupId>
<artifactId>parent</artifactId>
<artifactId>dependency</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,13 @@ under the License.
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<configuration>
<goalPrefix>its</goalPrefix>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit a21d656

Please sign in to comment.