File tree Expand file tree Collapse file tree 3 files changed +31
-5
lines changed
Expand file tree Collapse file tree 3 files changed +31
-5
lines changed Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88 strategy :
99 matrix :
10- java : [ 17 ]
10+ java : [ 17, 21, 25 ]
1111 name : jdk-${{ matrix.java }}
1212 steps :
1313 - uses : actions/checkout@v3
1616 - uses : actions/setup-java@v3
1717 with :
1818 distribution : " temurin"
19- java-version : ${{ matrix.java }}
19+ # The JDK listed last will be the default and what Maven runs with
20+ # https://github.com/marketplace/actions/setup-java-jdk#install-multiple-jdks
21+ java-version : |
22+ ${{ matrix.java }}
23+ 25
2024 cache : " maven"
2125 - name : " Build"
22- run : mvn --batch-mode -no-transfer-progress -V verify
26+ run : |
27+ mvn \
28+ --batch-mode \
29+ -no-transfer-progress \
30+ -V \
31+ -Dproject.build.jdk.version=${{ matrix.java }} \
32+ verify
2333 env :
2434 JDK_JAVA_OPTIONS : --add-opens=java.base/java.lang=ALL-UNNAMED
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >com.hubspot</groupId >
77 <artifactId >basepom</artifactId >
8- <version >63.4 </version >
8+ <version >65.1 </version >
99 </parent >
1010
1111 <groupId >com.hubspot.jinjava</groupId >
1717
1818 <properties >
1919 <project .build.targetJdk>17</project .build.targetJdk>
20- <project .build.releaseJdk>17</project .build.releaseJdk>
2120
2221 <dep .plugin.jacoco.version>0.8.3</dep .plugin.jacoco.version>
2322 <dep .plugin.javadoc.version>3.0.1</dep .plugin.javadoc.version>
2423 <dep .hubspot-immutables.version>1.9</dep .hubspot-immutables.version>
2524 <dep .algebra.version>1.5</dep .algebra.version>
25+ <dep .mockito.version>5.20.0</dep .mockito.version>
2626
2727
2828 <basepom .test.add.opens>
181181 <groupId >ch.obermuhlner</groupId >
182182 <artifactId >big-math</artifactId >
183183 </dependency >
184+ <dependency >
185+ <groupId >com.google.errorprone</groupId >
186+ <artifactId >error_prone_annotations</artifactId >
187+ </dependency >
184188
185189 <dependency >
186190 <groupId >ch.qos.logback</groupId >
336340 <argLine >@{argLine} ${basepom.test.add.opens} </argLine >
337341 </configuration >
338342 </plugin >
343+ <plugin >
344+ <groupId >org.apache.maven.plugins</groupId >
345+ <artifactId >maven-compiler-plugin</artifactId >
346+ <configuration >
347+ <annotationProcessorPaths >
348+ <path >
349+ <groupId >org.immutables</groupId >
350+ <artifactId >value</artifactId >
351+ </path >
352+ </annotationProcessorPaths >
353+ </configuration >
354+ </plugin >
339355 </plugins >
340356 </build >
341357
You can’t perform that action at this time.
0 commit comments