Skip to content

Commit 92ccb52

Browse files
author
Philipp Wagner
committed
Target higher JDK, Update Postgres
1 parent 567dc19 commit 92ccb52

3 files changed

Lines changed: 16 additions & 42 deletions

File tree

PgBulkInsert/pom.xml

Lines changed: 4 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,25 @@
33
xmlns="http://maven.apache.org/POM/4.0.0"
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
6-
76
<groupId>de.bytefish</groupId>
87
<artifactId>pgbulkinsert</artifactId>
9-
<version>8.1.2</version>
8+
<version>8.1.3</version>
109
<name>pgbulkinsert</name>
1110
<description>PgBulkInsert is a Java library for Bulk Inserts with PostgreSQL.</description>
1211
<url>http://www.github.com/bytefish/PgBulkInsert</url>
13-
1412
<!-- Define the License -->
1513
<licenses>
1614
<license>
1715
<name>MIT License</name>
1816
<url>https://opensource.org/licenses/MIT</url>
1917
</license>
2018
</licenses>
21-
2219
<!-- Source Management -->
2320
<scm>
2421
<url>https://github.com/PgBulkInsert/PgBulkInsert</url>
2522
<connection>scm:git:git://github.com/PgBulkInsert/PgBulkInsert.git</connection>
2623
<developerConnection>scm:git:git@github.com:bytefish/PgBulkInsert.git</developerConnection>
2724
</scm>
28-
2925
<!-- Developers -->
3026
<developers>
3127
<developer>
@@ -44,7 +40,6 @@
4440
<id>bytefish</id>
4541
</developer>
4642
</developers>
47-
4843
<build>
4944
<pluginManagement>
5045
<plugins>
@@ -53,8 +48,8 @@
5348
<artifactId>maven-compiler-plugin</artifactId>
5449
<version>3.8.1</version>
5550
<configuration>
56-
<source>1.8</source>
57-
<target>1.8</target>
51+
<source>11</source>
52+
<target>11</target>
5853
<fork>true</fork>
5954
<showWarnings>true</showWarnings>
6055
<compilerArgs>
@@ -91,29 +86,8 @@
9186
</executions>
9287
<inherited>false</inherited>
9388
</plugin>
94-
<plugin>
95-
<groupId>org.jacoco</groupId>
96-
<artifactId>jacoco-maven-plugin</artifactId>
97-
<version>0.8.6</version>
98-
<executions>
99-
<execution>
100-
<id>default-prepare-agent</id>
101-
<goals>
102-
<goal>prepare-agent</goal>
103-
</goals>
104-
</execution>
105-
<execution>
106-
<id>default-report</id>
107-
<phase>prepare-package</phase>
108-
<goals>
109-
<goal>report</goal>
110-
</goals>
111-
</execution>
112-
</executions>
113-
</plugin>
11489
</plugins>
11590
</build>
116-
11791
<distributionManagement>
11892
<snapshotRepository>
11993
<id>ossrh</id>
@@ -124,17 +98,11 @@
12498
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
12599
</repository>
126100
</distributionManagement>
127-
128101
<properties>
129-
<maven.compiler.source>1.8</maven.compiler.source>
130-
<maven.compiler.target>1.8</maven.compiler.target>
131102
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
132-
133-
<postgresql.version>42.6.0</postgresql.version>
103+
<postgresql.version>42.7.2</postgresql.version>
134104
<junit.version>4.13.1</junit.version>
135105
</properties>
136-
137-
138106
<profiles>
139107
<profile>
140108
<id>release</id>
@@ -171,7 +139,6 @@
171139
</pluginManagement>
172140
</build>
173141
</profile>
174-
175142
<profile>
176143
<id>docs-and-source</id>
177144
<build>
@@ -208,22 +175,18 @@
208175
</plugins>
209176
</build>
210177
</profile>
211-
212178
</profiles>
213179
<dependencies>
214180
<dependency>
215181
<groupId>org.postgresql</groupId>
216182
<artifactId>postgresql</artifactId>
217183
<version>${postgresql.version}</version>
218184
</dependency>
219-
220185
<dependency>
221186
<scope>test</scope>
222187
<groupId>junit</groupId>
223188
<artifactId>junit</artifactId>
224189
<version>${junit.version}</version>
225190
</dependency>
226191
</dependencies>
227-
228-
229192
</project>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
db.url=jdbc:postgresql://localhost:5432/postgres
1+
db.url=jdbc:postgresql://localhost:5431/postgres
22
db.user=postgres
33
db.password=password
44
db.schema=public

docker/docker-compose.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: '3.8'
2+
3+
services:
4+
postgres:
5+
image: postgres:16
6+
container_name: postgres
7+
ports:
8+
- "5431:5432"
9+
environment:
10+
- POSTGRES_USER=postgres
11+
- POSTGRES_PASSWORD=password

0 commit comments

Comments
 (0)