Skip to content

Commit

Permalink
Update versions for java and plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
kappsegla committed Feb 4, 2024
1 parent 84a7908 commit 98afaba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM eclipse-temurin:19-jre-jammy
FROM eclipse-temurin:21-jre-jammy
#COPY target/dependency /lib
WORKDIR /app
ARG USERNAME=hazeuser
Expand All @@ -13,4 +13,4 @@ COPY target/classes .
RUN chown --recursive $USERNAME:$USERNAME .
USER $USERNAME
EXPOSE 6379
ENTRYPOINT ["java","-cp","/app:/app/lib/*","--enable-preview","org.fungover.haze.Main"]
ENTRYPOINT ["java","-cp","/app:/app/lib/*","org.fungover.haze.Main"]
21 changes: 6 additions & 15 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<artifactId>haze</artifactId>
<version>2.0.1-SNAPSHOT</version>
<properties>
<maven.compiler.release>19</maven.compiler.release>
<maven.compiler.release>21</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<sonar.organization>fungover</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
Expand Down Expand Up @@ -51,13 +51,13 @@
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>4.3.1</version>
<version>5.1.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
<version>1.17.6</version>
<version>1.19.4</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -79,11 +79,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<compilerArgs>
--enable-preview
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -148,7 +143,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.0.0-M9</version>
<version>3.2.1</version>
<executions>
<execution>
<goals>
Expand All @@ -157,14 +152,11 @@
</goals>
</execution>
</executions>
<configuration>
<argLine>@{argLine} --enable-preview</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.8</version>
<version>0.8.11</version>
<executions>
<execution>
<id>prepare-agent</id>
Expand All @@ -188,13 +180,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M9</version>
<version>3.2.5</version>
<configuration>
<environmentVariables>
<HAZE_PORT>6380</HAZE_PORT>
<HAZE_PASSWORD>12345</HAZE_PASSWORD>
</environmentVariables>
<argLine>@{argLine} --enable-preview</argLine>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 98afaba

Please sign in to comment.