249 lines
9.0 KiB
XML
249 lines
9.0 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<groupId>com.bjtds</groupId>
|
||
<artifactId>bpm</artifactId>
|
||
<version>0.0.1-SNAPSHOT</version>
|
||
<name>bpm</name>
|
||
<description>工作流业务服务</description>
|
||
|
||
<properties>
|
||
<java.version>1.8</java.version>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
<spring-boot.version>2.1.2.RELEASE</spring-boot.version>
|
||
<spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
|
||
<activiti.version>7.1.0.M6</activiti.version>
|
||
<mybatis-plus.version>3.3.1</mybatis-plus.version>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
<!-- 依赖管理-->
|
||
<dependency>
|
||
<groupId>org.activiti.dependencies</groupId>
|
||
<artifactId>activiti-dependencies</artifactId>
|
||
<version>${activiti.version}</version>
|
||
<type>pom</type>
|
||
</dependency>
|
||
|
||
<!-- Activiti -->
|
||
<dependency>
|
||
<groupId>org.activiti</groupId>
|
||
<artifactId>activiti-spring-boot-starter</artifactId>
|
||
<version>${activiti.version}</version>
|
||
<!--上面用了mybatis-plus,要排除这个-->
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.mybatis</groupId>
|
||
<artifactId>mybatis</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<!-- java绘制activiti流程图 -->
|
||
<dependency>
|
||
<groupId>org.activiti</groupId>
|
||
<artifactId>activiti-image-generator</artifactId>
|
||
<version>${activiti.version}</version>
|
||
</dependency>
|
||
<!-- activiti json转换器-->
|
||
<dependency>
|
||
<groupId>org.activiti</groupId>
|
||
<artifactId>activiti-json-converter</artifactId>
|
||
<version>${activiti.version}</version>
|
||
</dependency>
|
||
<!-- svg转png图片工具-->
|
||
<dependency>
|
||
<groupId>org.apache.xmlgraphics</groupId>
|
||
<artifactId>batik-all</artifactId>
|
||
<version>1.10</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
</dependency>
|
||
|
||
<!-- mongodb -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-data-mongodb</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>mysql</groupId>
|
||
<artifactId>mysql-connector-java</artifactId>
|
||
<scope>runtime</scope>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>cn.hutool</groupId>
|
||
<artifactId>hutool-all</artifactId>
|
||
<version>4.5.2</version>
|
||
</dependency>
|
||
|
||
<!--mybatis-plus-->
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||
<version>${mybatis-plus.version}</version>
|
||
</dependency>
|
||
|
||
<!-- SpringSecurity -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-security</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>fastjson</artifactId>
|
||
<version>1.2.83</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
<!-- swagger 接口文档-->
|
||
<dependency>
|
||
<groupId>com.spring4all</groupId>
|
||
<artifactId>swagger-spring-boot-starter</artifactId>
|
||
<version>1.9.1.RELEASE</version>
|
||
</dependency>
|
||
<!-- springboot2.3.1后要单独引入,swagger才可以用 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-validation</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-feign</artifactId>
|
||
<version>1.4.4.RELEASE</version>
|
||
</dependency>
|
||
|
||
<!-- added by justincao84 @ 2025.05.15 -->
|
||
<dependency>
|
||
<groupId>org.apache.httpcomponents</groupId>
|
||
<artifactId>httpclient</artifactId>
|
||
<version>4.5.13</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||
<!-- 1.5的版本默认采用的连接池技术是jedis,2.0以上版本默认连接池是lettuce, 因为此次是采用jedis,所以需要排除lettuce的jar -->
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>redis.clients</groupId>
|
||
<artifactId>jedis</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>io.lettuce</groupId>
|
||
<artifactId>lettuce-core</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>redis.clients</groupId>
|
||
<artifactId>jedis</artifactId>
|
||
<version>2.9.1</version>
|
||
</dependency>
|
||
<!-- spring2.X集成redis所需common-pool2,使用jedis必须依赖它-->
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-pool2</artifactId>
|
||
<version>2.5.0</version>
|
||
</dependency>
|
||
<!-- redisson 用于分布式锁 -->
|
||
<dependency>
|
||
<groupId>org.redisson</groupId>
|
||
<artifactId>redisson</artifactId>
|
||
<version>3.13.2</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.bjtds</groupId>
|
||
<artifactId>common</artifactId>
|
||
<version>0.0.1-SNAPSHOT</version>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<dependencyManagement>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.springframework.cloud</groupId>
|
||
<artifactId>spring-cloud-dependencies</artifactId>
|
||
<version>${spring-cloud.version}</version>
|
||
<type>pom</type>
|
||
<scope>import</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-dependencies</artifactId>
|
||
<version>${spring-boot.version}</version>
|
||
<type>pom</type>
|
||
<scope>import</scope>
|
||
</dependency>
|
||
</dependencies>
|
||
</dependencyManagement>
|
||
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<version>3.8.1</version>
|
||
<configuration>
|
||
<source>1.8</source>
|
||
<target>1.8</target>
|
||
<encoding>UTF-8</encoding>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
<version>2.1.17.RELEASE</version>
|
||
<configuration>
|
||
<mainClass>com.bjtds.BpmApplication</mainClass>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<id>repackage</id>
|
||
<goals>
|
||
<goal>repackage</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
<resources>
|
||
<resource>
|
||
<!--
|
||
编译时,默认情况下不会将 mapper.xml文件编译进去,
|
||
src/main/java 资源文件的路径,
|
||
**/*.xml 需要编译打包的文件类型是xml文件,
|
||
-->
|
||
<directory>src/main/java</directory>
|
||
<includes>
|
||
<include>**/*.xml</include>
|
||
</includes>
|
||
</resource>
|
||
<resource>
|
||
<directory>src/main/resources</directory>
|
||
</resource>
|
||
</resources>
|
||
</build>
|
||
|
||
</project>
|