Skip to content

Commit 831cc27

Browse files
authored
Merge pull request #72 from nqminhuit/upgrade-java-and-deps
feat: upgrade java and deps
2 parents 6803ee9 + 893efff commit 831cc27

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/quarkus/ubi-quarkus-mandrel:22.3-java17
1+
FROM quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-21
22

33
USER root
44

pom.xml

+12-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>org.nqm</groupId>
66
<artifactId>gis</artifactId>
77
<version>1.1.2</version>
88
<packaging>${packaging}</packaging>
99

1010
<properties>
11+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1113
<packaging>jar</packaging>
12-
<maven.compiler.target>17</maven.compiler.target>
13-
<maven.compiler.source>17</maven.compiler.source>
14-
<picocli.version>4.7.1</picocli.version>
14+
<maven.compiler.target>21</maven.compiler.target>
15+
<maven.compiler.source>21</maven.compiler.source>
16+
<picocli.version>4.7.5</picocli.version>
17+
<vertx.version>4.4.7</vertx.version>
18+
<compiler.plugin.version>3.12.1</compiler.plugin.version>
19+
<jar.plugin.version>3.3.0</jar.plugin.version>
1520
</properties>
1621

1722
<dependencies>
@@ -23,7 +28,7 @@
2328
<dependency>
2429
<groupId>io.vertx</groupId>
2530
<artifactId>vertx-core</artifactId>
26-
<version>4.4.1</version>
31+
<version>${vertx.version}</version>
2732
</dependency>
2833
</dependencies>
2934

@@ -33,7 +38,7 @@
3338
<plugin>
3439
<groupId>org.apache.maven.plugins</groupId>
3540
<artifactId>maven-compiler-plugin</artifactId>
36-
<version>3.10.1</version>
41+
<version>${compiler.plugin.version}</version>
3742
<configuration>
3843
<annotationProcessorPaths combine.children="append">
3944
<path>
@@ -50,7 +55,7 @@
5055
<plugin>
5156
<groupId>org.apache.maven.plugins</groupId>
5257
<artifactId>maven-jar-plugin</artifactId>
53-
<version>3.2.2</version>
58+
<version>${jar.plugin.version}</version>
5459
<configuration>
5560
<archive>
5661
<manifest>

0 commit comments

Comments
 (0)