312 lines
11 KiB
XML
312 lines
11 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>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-parent</artifactId>
|
||
<version>2.7.1</version>
|
||
<relativePath/> <!-- lookup parent from repository -->
|
||
</parent>
|
||
|
||
<groupId>com.whdc</groupId>
|
||
<artifactId>fxkh-txl-service</artifactId>
|
||
<version>1.0</version>
|
||
<description>防汛抗旱通讯录api</description>
|
||
|
||
<properties>
|
||
<maven.compiler.source>8</maven.compiler.source>
|
||
<maven.compiler.target>8</maven.compiler.target>
|
||
<java.version>1.8</java.version>
|
||
<copy.jar.directory>target/release</copy.jar.directory>
|
||
</properties>
|
||
|
||
<repositories>
|
||
<repository>
|
||
<id>osgeo</id>
|
||
<name>OSGeo Release Repository</name>
|
||
<url>https://repo.osgeo.org/repository/release/</url>
|
||
<snapshots>
|
||
<enabled>false</enabled>
|
||
</snapshots>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
</repository>
|
||
<repository>
|
||
<id>osgeo-snapshot</id>
|
||
<name>OSGeo Snapshot Repository</name>
|
||
<url>https://repo.osgeo.org/repository/snapshot/</url>
|
||
<snapshots>
|
||
<enabled>true</enabled>
|
||
</snapshots>
|
||
<releases>
|
||
<enabled>false</enabled>
|
||
</releases>
|
||
</repository>
|
||
</repositories>
|
||
|
||
<dependencies>
|
||
|
||
|
||
<!-- iTextPDF核心库 - 用于PDF生成 -->
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>kernel</artifactId>
|
||
<version>7.2.4</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>io</artifactId>
|
||
<version>7.2.4</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>forms</artifactId>
|
||
<version>7.2.4</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>layout</artifactId>
|
||
<version>7.2.4</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>svg</artifactId>
|
||
<version>7.2.4</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-aop</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||
<version>3.5.2</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
|
||
|
||
<dependency>
|
||
<groupId>com.github.jeffreyning</groupId>
|
||
<artifactId>mybatisplus-plus</artifactId>
|
||
<version>1.7.2-RELEASE</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-validation</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-cache</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>cn.afterturn</groupId>
|
||
<artifactId>easypoi-spring-boot-starter</artifactId>
|
||
<version>4.4.0</version>
|
||
</dependency>
|
||
|
||
|
||
<!-- 提供Redis连接池 -->
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-pool2</artifactId>
|
||
</dependency>
|
||
<!-- Sa-Token 权限认证 end -->
|
||
|
||
|
||
<!-- knife4j swagger start-->
|
||
<dependency>
|
||
<groupId>com.github.xiaoymin</groupId>
|
||
<artifactId>knife4j-spring-boot-starter</artifactId>
|
||
<version>3.0.3</version>
|
||
</dependency>
|
||
<!-- knife4j swagger end-->
|
||
|
||
<!-- devtools start -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-devtools</artifactId>
|
||
<scope>runtime</scope>
|
||
<optional>true</optional> <!-- 这个需要为 true 热部署才有效 -->
|
||
</dependency>
|
||
<!-- devtools end -->
|
||
|
||
<!-- lombok start -->
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
</dependency>
|
||
<!-- lombok end -->
|
||
|
||
<!-- fastjson start -->
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>fastjson</artifactId>
|
||
<version>1.2.83</version>
|
||
</dependency>
|
||
<!-- fastjson end-->
|
||
|
||
<!-- dameng start mvn 库中的 8.1.2.79 不是最新的。达梦安装包内带的 jar 才是最新的
|
||
2022年7月25日发现,安装包中带的版本号是 2022.05.07 编译的 version 8.1.2.114
|
||
-->
|
||
<!-- <dependency>-->
|
||
<!-- <groupId>com.dameng</groupId>-->
|
||
<!-- <artifactId>DmJdbcDriver18</artifactId>-->
|
||
<!-- <version>8.1.2.79</version>-->
|
||
<!-- </dependency>-->
|
||
|
||
<!--
|
||
将 jar 安装到本地库仓库,方便下面的打包插件统一处理
|
||
mvn install:install-file -Dfile=D:\Work\GS\Java\fxkh-txl-service\lib\DmJdbcDriver18.jar -DgroupId="com.dameng" -DartifactId=DmJdbcDriver18 -Dversion="8.1.2.114" -Dpackaging=jar
|
||
-->
|
||
<dependency>
|
||
<groupId>com.dameng</groupId>
|
||
<artifactId>DmJdbcDriver18</artifactId>
|
||
<version>8.1.2.192</version>
|
||
</dependency>
|
||
|
||
<!--达梦数据库方言-->
|
||
<dependency>
|
||
<groupId>com.dameng</groupId>
|
||
<artifactId>DmDialect-for-hibernate4.0</artifactId>
|
||
<version>8.1.2.79</version>
|
||
</dependency>
|
||
<!-- dameng end -->
|
||
|
||
<!-- druid start -->
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>druid</artifactId>
|
||
<version>1.2.8</version>
|
||
</dependency>
|
||
<!-- druid end -->
|
||
|
||
<!-- beanutils start -->
|
||
<dependency>
|
||
<groupId>commons-beanutils</groupId>
|
||
<artifactId>commons-beanutils</artifactId>
|
||
<version>1.9.4</version>
|
||
</dependency>
|
||
<!-- beanutils end -->
|
||
|
||
<!-- joda-time 时间工具 start -->
|
||
<dependency>
|
||
<groupId>joda-time</groupId>
|
||
<artifactId>joda-time</artifactId>
|
||
<version>2.10.14</version>
|
||
</dependency>
|
||
<!-- joda-time end -->
|
||
|
||
<!-- Sa-Token 权限认证, 在线文档:http://sa-token.dev33.cn/ -->
|
||
<dependency>
|
||
<groupId>cn.dev33</groupId>
|
||
<artifactId>sa-token-spring-boot-starter</artifactId>
|
||
<version>1.30.0</version>
|
||
</dependency><!-- Sa-Token 整合 Redis (使用 jackson 序列化方式) -->
|
||
<dependency>
|
||
<groupId>cn.dev33</groupId>
|
||
<artifactId>sa-token-dao-redis-jackson</artifactId>
|
||
<version>1.30.0</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.apache.httpcomponents</groupId>
|
||
<artifactId>httpclient</artifactId>
|
||
<version>4.5.13</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.apache.httpcomponents</groupId>
|
||
<artifactId>httpcore</artifactId>
|
||
<version>4.4.15</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.httpcomponents</groupId>
|
||
<artifactId>httpcore</artifactId>
|
||
<version>4.4.13</version>
|
||
</dependency>
|
||
|
||
|
||
<!--微信小程序-->
|
||
<dependency>
|
||
<groupId>com.github.binarywang</groupId>
|
||
<artifactId>weixin-java-miniapp</artifactId>
|
||
<version>4.6.0</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.squareup.okhttp3</groupId>
|
||
<artifactId>okhttp</artifactId>
|
||
<version>4.12.0</version>
|
||
</dependency>
|
||
|
||
<!-- spring boot test -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<build>
|
||
<plugins>
|
||
<!-- <plugin>-->
|
||
<!-- <groupId>org.springframework.boot</groupId>-->
|
||
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
|
||
<!-- <version>2.7.5</version>-->
|
||
<!-- <executions>-->
|
||
<!-- <execution>-->
|
||
<!-- <id>repackage-executable-jar</id>-->
|
||
<!-- <goals>-->
|
||
<!-- <goal>repackage</goal>-->
|
||
<!-- </goals>-->
|
||
<!-- <configuration>-->
|
||
<!-- <skip>true</skip>-->
|
||
<!-- </configuration>-->
|
||
<!-- </execution>-->
|
||
<!-- </executions>-->
|
||
<!-- </plugin>-->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-dependency-plugin</artifactId>
|
||
<version>3.5.0</version>
|
||
<executions>
|
||
<execution>
|
||
<id>copy-dependencies</id>
|
||
<goals>
|
||
<goal>copy-dependencies</goal>
|
||
</goals>
|
||
<configuration>
|
||
<skip>true</skip>
|
||
<outputDirectory>${project.basedir}/runtime-lib</outputDirectory>
|
||
<overWriteReleases>false</overWriteReleases>
|
||
<overWriteSnapshots>false</overWriteSnapshots>
|
||
<overWriteIfNewer>true</overWriteIfNewer>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</project> |