Skip to content

Commit

Permalink
Build with target JDK 8, GPG activated again
Browse files Browse the repository at this point in the history
  • Loading branch information
asturio committed Feb 20, 2024
1 parent eb67fc3 commit c5465d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
# The last 3 LTS releases
# Java 17 is run in codacy-coverage-reporter
java: [ 21 ]
# Java 11 in this branch 1.4-java11
java: [ 11 ]
name: Java ${{matrix.java}}
steps:
- uses: actions/checkout@v4.1.1
Expand Down
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
</filesets>
</configuration>
</plugin>
<!-- Set java to 9 -->
<!-- Set java to 11 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down Expand Up @@ -419,9 +419,9 @@

<profiles>
<profile>
<id>jdk17-plus</id>
<id>jdk11-plus</id>
<activation>
<jdk>[17,)</jdk>
<jdk>[11,)</jdk>
</activation>
<dependencyManagement>
<dependencies>
Expand All @@ -439,16 +439,16 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<release>17</release>
<release>11</release>
</configuration>
<executions>
<execution>
<id>compile-java-17</id>
<id>compile-java-11</id>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<release>17</release>
<release>11</release>
<compileSourceRoots>
<compileSourceRoot>${project.basedir}/src/main/java</compileSourceRoot>
</compileSourceRoots>
Expand Down

0 comments on commit c5465d9

Please sign in to comment.