Skip to content

Commit

Permalink
build: remove JDK 8 & fix POM
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Berezovskyi <[email protected]>
  • Loading branch information
berezovskyi committed Oct 12, 2024
1 parent d4ee568 commit 3ce270d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
jdk: ['8', '11']
jdk: ['11']
# temurin is Eclipse/AdoptOpenJDK/Adoptium
# 'liberica' is a preferred Spring SDK
# zulu has 2030 EOL for JDK 8
Expand Down
19 changes: 10 additions & 9 deletions backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
<artifactId>sparqles</artifactId>
<version>0.0.1-SNAPSHOT</version>
<properties>
<jdkLevel>1.8</jdkLevel>
<jdkLevel>11</jdkLevel>
<maven.compiler.release>${jdkLevel}</maven.compiler.release>
<maven.compiler.target>${jdkLevel}</maven.compiler.target>
<maven.compiler.source>${jdkLevel}</maven.compiler.source>
<requiredMavenVersion>[2.1,)</requiredMavenVersion>
<main.basedir>${project.basedir}</main.basedir>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand All @@ -23,19 +26,17 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<configuration>
<usedDependencies>
<!-- loaded at runtime, no code refs -->
<dependency>org.slf4j:slf4j-reload4j</dependency>
</usedDependencies>
<usedDependencies>
<!-- loaded at runtime, no code refs -->
<dependency>org.slf4j:slf4j-reload4j</dependency>
</usedDependencies>
</configuration>
</plugin>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>${jdkLevel}</source>
<target>${jdkLevel}</target>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
</configuration>
Expand Down Expand Up @@ -146,12 +147,12 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.36</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-reload4j</artifactId>
<version>1.7.36</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.avro</groupId>
Expand Down

0 comments on commit 3ce270d

Please sign in to comment.