File tree Expand file tree Collapse file tree 3 files changed +28
-6
lines changed Expand file tree Collapse file tree 3 files changed +28
-6
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ jobs:
14
14
runs-on: ubuntu-latest
15
15
steps:
16
16
- uses: actions/checkout@v4
17
- - name: Set up JDK 22 for x64
17
+ - name: Set up JDK 21
18
18
uses: actions/setup-java@v4
19
19
with:
20
- java-version: '22 '
20
+ java-version: '21 '
21
21
distribution: 'temurin'
22
22
cache: maven
23
23
- name: Run the Maven verify phase
24
- run: mvn --batch-mode --update-snapshots verify
24
+ run: mvn clean test verify -X -e --update-snapshots
25
25
- run: mkdir staging && cp target/*.jar staging
26
26
- uses: actions/upload-artifact@v4
27
27
with:
Original file line number Diff line number Diff line change 9
9
<version>0.1.0-SNAPSHOT</version>
10
10
11
11
<properties>
12
- <maven.compiler.source>22 </maven.compiler.source>
13
- <maven.compiler.target>22 </maven.compiler.target>
12
+ <maven.compiler.source>21 </maven.compiler.source>
13
+ <maven.compiler.target>21 </maven.compiler.target>
14
14
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15
15
</properties>
16
16
54
54
<scope>test</scope>
55
55
</dependency>
56
56
</dependencies>
57
+
58
+ <build>
59
+ <pluginManagement>
60
+ <plugins>
61
+ <plugin>
62
+ <groupId>org.apache.maven.plugins</groupId>
63
+ <artifactId>maven-clean-plugin</artifactId>
64
+ <version>3.2.0</version>
65
+ </plugin>
66
+ <plugin>
67
+ <groupId>org.apache.maven.surefire</groupId>
68
+ <artifactId>surefire</artifactId>
69
+ <version>3.2.5</version>
70
+ </plugin>
71
+ <plugin>
72
+ <groupId>org.apache.maven.plugins</groupId>
73
+ <artifactId>maven-compiler-plugin</artifactId>
74
+ <version>3.13.0</version>
75
+ </plugin>
76
+ </plugins>
77
+ </pluginManagement>
78
+ </build>
57
79
</project>
You can’t perform that action at this time.
0 commit comments