sol-cloud/cloud/common/common-base-model/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

35 lines
No EOL
1.2 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-model</artifactId>
<dependencies>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-core</artifactId>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-common</artifactId>
<version>${openapi.version}</version>
</dependency>
<dependency>
<groupId>com.bgasol</groupId>
<artifactId>plugin-swagger</artifactId>
<version>0.0.1</version>
</dependency>
<dependency>
<groupId>jakarta.persistence</groupId>
<artifactId>jakarta.persistence-api</artifactId>
</dependency>
</dependencies>
</project>