324 lines
12 KiB
XML
324 lines
12 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.gunshi</groupId>
|
||
<artifactId>gunshi-boot</artifactId>
|
||
<version>1.4-SNAPSHOT</version>
|
||
<relativePath/>
|
||
</parent>
|
||
|
||
<groupId>com.gunshi</groupId>
|
||
<artifactId>gunshi-project-ss-parent</artifactId>
|
||
<version>1.0-SNAPSHOT</version>
|
||
<packaging>pom</packaging>
|
||
|
||
<description>
|
||
黑石咀水库系统 - 父级POM
|
||
</description>
|
||
|
||
<modules>
|
||
<module>../module-common</module>
|
||
</modules>
|
||
<properties>
|
||
<java.version>21</java.version>
|
||
<maven.compiler.source>21</maven.compiler.source>
|
||
<maven.compiler.target>21</maven.compiler.target>
|
||
<maven.test.skip>true</maven.test.skip>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
||
<!-- 项目特有依赖版本管理 -->
|
||
<gunshi-db.version>2.0-SNAPSHOT</gunshi-db.version>
|
||
<gunshi-modules-file.version>1.0-SNAPSHOT</gunshi-modules-file.version>
|
||
<flood-algorithm.version>1.3.1</flood-algorithm.version>
|
||
<itext.version>7.2.4</itext.version>
|
||
<mybatis-plus.version>3.5.7</mybatis-plus.version>
|
||
<artemis-http-client.version>1.1.3</artemis-http-client.version>
|
||
<commons-net.version>3.3</commons-net.version>
|
||
<easyexcel.version>3.1.1</easyexcel.version>
|
||
<fastjson2.version>2.0.43</fastjson2.version>
|
||
<jts-core.version>1.18.1</jts-core.version>
|
||
<integration-ruoyi.version>3.8.8</integration-ruoyi.version>
|
||
<postgresql.version>42.7.1</postgresql.version>
|
||
</properties>
|
||
|
||
<dependencyManagement>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>com.gunshi</groupId>
|
||
<artifactId>gunshi-project-ss-common</artifactId>
|
||
<version>1.0-SNAPSHOT</version>
|
||
</dependency>
|
||
|
||
<!-- Gunshi 项目依赖 -->
|
||
<dependency>
|
||
<groupId>com.gunshi</groupId>
|
||
<artifactId>gunshi-boot</artifactId>
|
||
<version>1.4-SNAPSHOT</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>mybatis-plus</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.gunshi</groupId>
|
||
<artifactId>gunshi-db</artifactId>
|
||
<version>${gunshi-db.version}</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.gunshi</groupId>
|
||
<artifactId>gunshi-modules-file</artifactId>
|
||
<version>${gunshi-modules-file.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.gunshi</groupId>
|
||
<artifactId>flood_algorithm</artifactId>
|
||
<version>${flood-algorithm.version}</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi-ooxml</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<!-- iText7 核心库 -->
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>kernel</artifactId>
|
||
<version>${itext.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>io</artifactId>
|
||
<version>${itext.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>forms</artifactId>
|
||
<version>${itext.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>layout</artifactId>
|
||
<version>${itext.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>svg</artifactId>
|
||
<version>${itext.version}</version>
|
||
</dependency>
|
||
|
||
<!-- MyBatis Plus -->
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>mybatis-plus</artifactId>
|
||
<version>${mybatis-plus.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
|
||
<version>${mybatis-plus.version}</version>
|
||
</dependency>
|
||
|
||
<!-- 第三方库 -->
|
||
<dependency>
|
||
<groupId>com.hikvision.ga</groupId>
|
||
<artifactId>artemis-http-client</artifactId>
|
||
<version>${artemis-http-client.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>commons-net</groupId>
|
||
<artifactId>commons-net</artifactId>
|
||
<version>${commons-net.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>easyexcel</artifactId>
|
||
<version>${easyexcel.version}</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<artifactId>commons-compress</artifactId>
|
||
<groupId>org.apache.commons</groupId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.alibaba.fastjson2</groupId>
|
||
<artifactId>fastjson2</artifactId>
|
||
<version>${fastjson2.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.locationtech.jts</groupId>
|
||
<artifactId>jts-core</artifactId>
|
||
<version>${jts-core.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.ruoyi</groupId>
|
||
<artifactId>integration-ruoyi</artifactId>
|
||
<version>${integration-ruoyi.version}</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<artifactId>swagger-annotations</artifactId>
|
||
<groupId>io.swagger</groupId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<artifactId>swagger-annotations</artifactId>
|
||
<groupId>io.swagger.core.v3</groupId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<artifactId>swagger-models</artifactId>
|
||
<groupId>io.swagger</groupId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<artifactId>swagger-models</artifactId>
|
||
<groupId>io.swagger.core.v3</groupId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<artifactId>springfox-swagger-common</artifactId>
|
||
<groupId>io.springfox</groupId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<artifactId>springfox-swagger-ui</artifactId>
|
||
<groupId>io.springfox</groupId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<artifactId>springfox-swagger2</artifactId>
|
||
<groupId>io.springfox</groupId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<artifactId>jsqlparser</artifactId>
|
||
<groupId>com.github.jsqlparser</groupId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<artifactId>mybatis</artifactId>
|
||
<groupId>org.mybatis</groupId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
|
||
<groupId>com.baomidou</groupId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<!-- PostgreSQL 驱动 -->
|
||
<dependency>
|
||
<groupId>org.postgresql</groupId>
|
||
<artifactId>postgresql</artifactId>
|
||
<version>${postgresql.version}</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<artifactId>checker-qual</artifactId>
|
||
<groupId>org.checkerframework</groupId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
</dependencies>
|
||
</dependencyManagement>
|
||
|
||
<build>
|
||
<pluginManagement>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<configuration>
|
||
<source>21</source>
|
||
<target>21</target>
|
||
</configuration>
|
||
</plugin>
|
||
|
||
<!-- 依赖复制插件 - 作为独立目标,不绑定到package阶段 -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-dependency-plugin</artifactId>
|
||
<configuration>
|
||
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
||
<overWriteReleases>false</overWriteReleases>
|
||
<overWriteSnapshots>false</overWriteSnapshots>
|
||
<overWriteIfNewer>true</overWriteIfNewer>
|
||
<includeScope>runtime</includeScope>
|
||
</configuration>
|
||
</plugin>
|
||
|
||
<!-- JAR打包插件 -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-jar-plugin</artifactId>
|
||
</plugin>
|
||
</plugins>
|
||
</pluginManagement>
|
||
</build>
|
||
|
||
<repositories>
|
||
<repository>
|
||
<id>ali</id>
|
||
<url>https://maven.aliyun.com/repository/central/</url>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>true</enabled>
|
||
</snapshots>
|
||
</repository>
|
||
<repository>
|
||
<id>nexus</id>
|
||
<name>Nexus public</name>
|
||
<url>http://local.gunshiiot.com:8081/repository/maven-public/</url>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>true</enabled>
|
||
</snapshots>
|
||
</repository>
|
||
</repositories>
|
||
|
||
<distributionManagement>
|
||
<repository>
|
||
<id>nexus-releases</id>
|
||
<name>Nexus Releases</name>
|
||
<url>http://local.gunshiiot.com:8081/repository/maven-releases</url>
|
||
</repository>
|
||
<snapshotRepository>
|
||
<id>nexus-snapshots</id>
|
||
<name>Nexus Snapshot</name>
|
||
<url>http://local.gunshiiot.com:8081/repository/maven-snapshots/</url>
|
||
</snapshotRepository>
|
||
</distributionManagement>
|
||
</project> |