sol-cloud/cloud/common/common-base-web/pom.xml
smile 973f365fd3 refactor(common): refactor PostgreSQL exception handler
- Move the postgresql dependency from common-base-model to common-base-web
- Rename GlobalExceptionHandler to PostgreSqlExceptionHandler and relocate it to the web module
- Replace @ControllerAdvice with @RestControllerAdvice
- Add @ApiResponse annotations to enrich API documentation
- Refactor error-parsing logic into the Template Method pattern to improve reusability
- Optimize parsing and user-friendly messages for all kinds of PostgreSQL exceptions
- Unify the exception-response format to enhance user experience
2025-10-09 13:58:31 +08:00

46 lines
No EOL
1.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>com.bgasol</groupId>
<artifactId>common</artifactId>
<version>0.0.1</version>
</parent>
<artifactId>common-base-web</artifactId>
<dependencies>
<dependency>
<groupId>com.bgasol</groupId>
<artifactId>common-auth</artifactId>
<version>0.0.1</version>
</dependency>
<dependency>
<groupId>com.bgasol</groupId>
<artifactId>common-base-model</artifactId>
<version>0.0.1</version>
</dependency>
<dependency>
<groupId>com.bgasol</groupId>
<artifactId>plugin-database</artifactId>
<version>0.0.1</version>
</dependency>
<dependency>
<groupId>com.bgasol</groupId>
<artifactId>plugin-logger</artifactId>
<version>0.0.1</version>
</dependency>
<dependency>
<groupId>com.bgasol</groupId>
<artifactId>plugin-openfeign</artifactId>
<version>0.0.1</version>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>
</dependencies>
</project>