Skip to content

Commit

Permalink
[fix] For maven 3.6.3, it uses very old compiler, add back source/tar…
Browse files Browse the repository at this point in the history
…get options

does not affect others as they use the common base and that is controlled with newer version of compiler.  The others do not on purpose and fall back to older setup.
  • Loading branch information
hazendaz committed Jun 9, 2024
1 parent cb370c0 commit 032c606
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/it/MFINDBUGS-145/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
<url>http://maven.apache.org</url>

<properties>
<!-- These two are used due to old compiler on maven 3.6.3 GHA build -->
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>

<maven.compiler.release>8</maven.compiler.release>

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
4 changes: 4 additions & 0 deletions src/it/check-no-missing-classes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
<name>check-no-missing-classes</name>

<properties>
<!-- These two are used due to old compiler on maven 3.6.3 GHA build -->
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>

<maven.compiler.release>8</maven.compiler.release>
</properties>

Expand Down
4 changes: 4 additions & 0 deletions src/it/skipEmpty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
<name>skipEmpty</name>

<properties>
<!-- These two are used due to old compiler on maven 3.6.3 GHA build -->
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>

<maven.compiler.release>8</maven.compiler.release>
</properties>

Expand Down

0 comments on commit 032c606

Please sign in to comment.