Struchkov Mark
eeb14cdca9
New exception handlers have been added and database setup files introduced. This update also deletes unnecessary Docker and Java files, and modifies various files related to error handling and database changes. Exception handlers for runtime, social network, and not found exceptions are added to improve error feedback in the application. Database setup includes a Liquibase changelog and SQL scripts to create the person table in the database.
94 lines
3.5 KiB
XML
94 lines
3.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>dev.struchkov.network</groupId>
|
|
<artifactId>social-network</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>network-data-jooq</artifactId>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>dev.struchkov.network</groupId>
|
|
<artifactId>network-context</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>jakarta.enterprise</groupId>
|
|
<artifactId>jakarta.enterprise.cdi-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.smallrye.reactive</groupId>
|
|
<artifactId>smallrye-mutiny-vertx-pg-client</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.quarkus</groupId>
|
|
<artifactId>quarkus-reactive-pg-client</artifactId>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.jooq/jooq -->
|
|
<dependency>
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq</artifactId>
|
|
<version>3.19.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mapstruct</groupId>
|
|
<artifactId>mapstruct</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>jooq-generate</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jooq</groupId>
|
|
<artifactId>jooq-codegen-maven</artifactId>
|
|
<version>3.19.5</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<jdbc>
|
|
<driver>org.postgresql.Driver</driver>
|
|
<url>jdbc:${env.DB_URL}</url>
|
|
<user>${env.DB_USERNAME}</user>
|
|
<password>${env.DB_PASSWORD}</password>
|
|
</jdbc>
|
|
<generator>
|
|
<database>
|
|
<name>org.jooq.meta.postgres.PostgresDatabase</name>
|
|
<includes>.*</includes>
|
|
</database>
|
|
<target>
|
|
<packageName>dev.struchkov.network.data.jooq.schema</packageName>
|
|
<directory>src/main/java</directory>
|
|
</target>
|
|
</generator>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
|
|
</project> |