Skip to content

Commit 807fb38

Browse files
author
Olivier Chédru
committed
Build with java 18
1 parent 9071eb1 commit 807fb38

4 files changed

Lines changed: 18 additions & 14 deletions

File tree

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "maven"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v2
1313
- uses: actions/setup-java@v1
1414
with:
15-
java-version: 1.8
15+
java-version: 18
1616
- name: get tag
1717
id: get_tag
1818
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}

.travis.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

pom.xml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" 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">
22
<modelVersion>4.0.0</modelVersion>
33

4-
<parent>
5-
<groupId>org.dhatim</groupId>
6-
<artifactId>root-oss</artifactId>
7-
<version>21.2.0</version>
8-
</parent>
9-
104
<groupId>org.dhatim</groupId>
115
<artifactId>hamcrest-postgresql</artifactId>
126
<version>0-SNAPSHOT</version>
@@ -28,15 +22,17 @@
2822
</scm>
2923

3024
<properties>
31-
<maven.compiler.source>1.8</maven.compiler.source>
32-
<maven.compiler.target>1.8</maven.compiler.target>
25+
<maven.compiler.source>18</maven.compiler.source>
26+
<maven.compiler.target>18</maven.compiler.target>
3327
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
28+
<antlr.version>4.10.1</antlr.version>
3429
</properties>
3530

3631
<dependencies>
3732
<dependency>
3833
<groupId>junit</groupId>
3934
<artifactId>junit</artifactId>
35+
<version>4.13.2</version>
4036
<scope>test</scope>
4137
</dependency>
4238
<dependency>
@@ -47,6 +43,7 @@
4743
<dependency>
4844
<groupId>org.antlr</groupId>
4945
<artifactId>antlr4-runtime</artifactId>
46+
<version>${antlr.version}</version>
5047
</dependency>
5148
</dependencies>
5249

@@ -55,6 +52,7 @@
5552
<plugin>
5653
<groupId>org.antlr</groupId>
5754
<artifactId>antlr4-maven-plugin</artifactId>
55+
<version>${antlr.version}</version>
5856
<executions>
5957
<execution>
6058
<id>antlr</id>
@@ -72,6 +70,7 @@
7270
<plugin>
7371
<groupId>org.codehaus.mojo</groupId>
7472
<artifactId>build-helper-maven-plugin</artifactId>
73+
<version>3.3.0</version>
7574
<executions>
7675
<execution>
7776
<id>add-sources</id>
@@ -89,6 +88,7 @@
8988
<plugin>
9089
<groupId>org.apache.maven.plugins</groupId>
9190
<artifactId>maven-javadoc-plugin</artifactId>
91+
<version>3.4.0</version>
9292
<configuration>
9393
<show>public</show>
9494
</configuration>
@@ -112,6 +112,7 @@
112112
<plugin>
113113
<groupId>org.sonatype.plugins</groupId>
114114
<artifactId>nexus-staging-maven-plugin</artifactId>
115+
<version>1.6.13</version>
115116
<extensions>true</extensions>
116117
<configuration>
117118
<serverId>ossrh</serverId>
@@ -121,6 +122,7 @@
121122
</plugin>
122123
<plugin>
123124
<artifactId>maven-source-plugin</artifactId>
125+
<version>3.2.1</version>
124126
<executions>
125127
<execution>
126128
<id>attach-sources</id>
@@ -132,6 +134,7 @@
132134
</plugin>
133135
<plugin>
134136
<artifactId>maven-gpg-plugin</artifactId>
137+
<version>3.0.1</version>
135138
<executions>
136139
<execution>
137140
<id>sign-artifacts</id>

0 commit comments

Comments
 (0)