508 lines
19 KiB
XML
508 lines
19 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>
|
|
|
|
<groupId>com.ruoyi</groupId>
|
|
<artifactId>ruoyi</artifactId>
|
|
<version>3.6.1</version>
|
|
|
|
<description>智慧工会系统</description>
|
|
|
|
<properties>
|
|
<ruoyi.version>3.6.1</ruoyi.version>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
|
<java.version>15</java.version>
|
|
<spring-boot.version>2.7.3</spring-boot.version>
|
|
<spring-cloud.version>2021.0.4</spring-cloud.version>
|
|
<spring-cloud-alibaba.version>2021.0.4.0</spring-cloud-alibaba.version>
|
|
<spring-boot-admin.version>2.7.5</spring-boot-admin.version>
|
|
<spring-boot.mybatis>2.2.2</spring-boot.mybatis>
|
|
<swagger.fox.version>3.0.0</swagger.fox.version>
|
|
<swagger.core.version>1.6.2</swagger.core.version>
|
|
<tobato.version>1.27.2</tobato.version>
|
|
<kaptcha.version>2.3.3</kaptcha.version>
|
|
<pagehelper.boot.version>1.4.5</pagehelper.boot.version>
|
|
<druid.version>1.2.15</druid.version>
|
|
<dynamic-ds.version>3.5.2</dynamic-ds.version>
|
|
<commons.io.version>2.11.0</commons.io.version>
|
|
<commons.fileupload.version>1.4</commons.fileupload.version>
|
|
<velocity.version>2.3</velocity.version>
|
|
<fastjson.version>2.0.20</fastjson.version>
|
|
<jjwt.version>0.9.1</jjwt.version>
|
|
<minio.version>8.2.2</minio.version>
|
|
<poi.version>5.2.3</poi.version>
|
|
<commons-collections.version>3.2.2</commons-collections.version>
|
|
<transmittable-thread-local.version>2.13.2</transmittable-thread-local.version>
|
|
|
|
<nutz-spring-boot.version>2.7.1</nutz-spring-boot.version>
|
|
<lombok.version>1.18.24</lombok.version>
|
|
<cas.version>3.6.4</cas.version>
|
|
<aspose-cells.version>23.1</aspose-cells.version>
|
|
</properties>
|
|
|
|
<!-- 依赖声明 -->
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<!-- SpringCloud 微服务 -->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
<version>${spring-cloud.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<!-- SpringCloud Alibaba 微服务 -->
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
|
<version>${spring-cloud-alibaba.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<!-- SpringBoot 依赖配置 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
<version>${spring-boot.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<!-- FastDFS 分布式文件系统 -->
|
|
<dependency>
|
|
<groupId>com.github.tobato</groupId>
|
|
<artifactId>fastdfs-client</artifactId>
|
|
<version>${tobato.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Mybatis 依赖配置 -->
|
|
<dependency>
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
<version>${spring-boot.mybatis}</version>
|
|
</dependency>
|
|
|
|
<!-- Swagger 依赖配置 -->
|
|
<dependency>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-models</artifactId>
|
|
<version>${swagger.core.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-annotations</artifactId>
|
|
<version>${swagger.core.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 验证码 -->
|
|
<dependency>
|
|
<groupId>pro.fessional</groupId>
|
|
<artifactId>kaptcha</artifactId>
|
|
<version>${kaptcha.version}</version>
|
|
</dependency>
|
|
|
|
<!-- pagehelper 分页插件 -->
|
|
<dependency>
|
|
<groupId>com.github.pagehelper</groupId>
|
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
<version>${pagehelper.boot.version}</version>
|
|
</dependency>
|
|
|
|
<!-- io常用工具类 -->
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>${commons.io.version}</version>
|
|
</dependency>
|
|
|
|
<!-- excel工具 -->
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-ooxml</artifactId>
|
|
<version>${poi.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-ooxml-schemas</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- 文件上传工具类 -->
|
|
<dependency>
|
|
<groupId>commons-fileupload</groupId>
|
|
<artifactId>commons-fileupload</artifactId>
|
|
<version>${commons.fileupload.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 代码生成使用模板 -->
|
|
<dependency>
|
|
<groupId>org.apache.velocity</groupId>
|
|
<artifactId>velocity-engine-core</artifactId>
|
|
<version>${velocity.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Collection 增强Java集合框架 -->
|
|
<dependency>
|
|
<groupId>commons-collections</groupId>
|
|
<artifactId>commons-collections</artifactId>
|
|
<version>${commons-collections.version}</version>
|
|
</dependency>
|
|
|
|
<!-- JSON 解析器和生成器 -->
|
|
<dependency>
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
<artifactId>fastjson2</artifactId>
|
|
<version>${fastjson.version}</version>
|
|
</dependency>
|
|
|
|
<!-- JWT -->
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt</artifactId>
|
|
<version>${jjwt.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 线程传递值 -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>transmittable-thread-local</artifactId>
|
|
<version>${transmittable-thread-local.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 核心模块 -->
|
|
<dependency>
|
|
<groupId>com.ruoyi</groupId>
|
|
<artifactId>ruoyi-common-core</artifactId>
|
|
<version>${ruoyi.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 接口模块 -->
|
|
<dependency>
|
|
<groupId>com.ruoyi</groupId>
|
|
<artifactId>ruoyi-common-swagger</artifactId>
|
|
<version>${ruoyi.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 安全模块 -->
|
|
<dependency>
|
|
<groupId>com.ruoyi</groupId>
|
|
<artifactId>ruoyi-common-security</artifactId>
|
|
<version>${ruoyi.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 权限范围 -->
|
|
<dependency>
|
|
<groupId>com.ruoyi</groupId>
|
|
<artifactId>ruoyi-common-datascope</artifactId>
|
|
<version>${ruoyi.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 多数据源 -->
|
|
<dependency>
|
|
<groupId>com.ruoyi</groupId>
|
|
<artifactId>ruoyi-common-datasource</artifactId>
|
|
<version>${ruoyi.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 分布式事务 -->
|
|
<dependency>
|
|
<groupId>com.ruoyi</groupId>
|
|
<artifactId>ruoyi-common-seata</artifactId>
|
|
<version>${ruoyi.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 日志记录 -->
|
|
<dependency>
|
|
<groupId>com.ruoyi</groupId>
|
|
<artifactId>ruoyi-common-log</artifactId>
|
|
<version>${ruoyi.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 缓存服务 -->
|
|
<dependency>
|
|
<groupId>com.ruoyi</groupId>
|
|
<artifactId>ruoyi-common-redis</artifactId>
|
|
<version>${ruoyi.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 系统接口 -->
|
|
<dependency>
|
|
<groupId>com.ruoyi</groupId>
|
|
<artifactId>ruoyi-api-system</artifactId>
|
|
<version>${ruoyi.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 会员接口 -->
|
|
<dependency>
|
|
<groupId>com.ruoyi</groupId>
|
|
<artifactId>ruoyi-api-member</artifactId>
|
|
<version>${ruoyi.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 提案接口 -->
|
|
<dependency>
|
|
<groupId>com.ruoyi</groupId>
|
|
<artifactId>ruoyi-api-proposal</artifactId>
|
|
<version>${ruoyi.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 教代会接口 -->
|
|
<dependency>
|
|
<groupId>com.ruoyi</groupId>
|
|
<artifactId>ruoyi-api-jdh</artifactId>
|
|
<version>${ruoyi.version}</version>
|
|
</dependency>
|
|
|
|
<!-- 职工福利接口 -->
|
|
<dependency>
|
|
<groupId>com.ruoyi</groupId>
|
|
<artifactId>ruoyi-api-staffService</artifactId>
|
|
<version>${ruoyi.version}</version>
|
|
</dependency>
|
|
|
|
<!--Springboot整合Nutz-->
|
|
<dependency>
|
|
<groupId>org.nutz</groupId>
|
|
<artifactId>nutz-spring-boot-starter</artifactId>
|
|
<version>${nutz-spring-boot.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${lombok.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>cn.hutool</groupId>
|
|
<artifactId>hutool-all</artifactId>
|
|
<version>5.8.10</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>cn.afterturn</groupId>
|
|
<artifactId>easypoi-spring-boot-starter</artifactId>
|
|
<version>4.5.0</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-ooxml-schemas</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-ooxml-schemas</artifactId>
|
|
<version>5.2.2</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.deepoove</groupId>
|
|
<artifactId>poi-tl</artifactId>
|
|
<version>1.12.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.github.draco1023</groupId>
|
|
<artifactId>poi-tl-ext</artifactId>
|
|
<version>0.3.20</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-ooxml-schemas</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.deepoove</groupId>
|
|
<artifactId>poi-tl</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!--文件转换服务-->
|
|
<dependency>
|
|
<groupId>com.luhuiguo</groupId>
|
|
<artifactId>aspose-words</artifactId>
|
|
<version>${aspose-cells.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.luhuiguo</groupId>
|
|
<artifactId>aspose-cells</artifactId>
|
|
<version>${aspose-cells.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.luhuiguo</groupId>
|
|
<artifactId>aspose-slides</artifactId>
|
|
<version>${aspose-cells.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.jasig.cas.client</groupId>
|
|
<artifactId>cas-client-support-springboot</artifactId>
|
|
<version>${cas.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<modules>
|
|
<module>ruoyi-auth</module>
|
|
<module>ruoyi-gateway</module>
|
|
<module>ruoyi-visual</module>
|
|
<module>ruoyi-modules</module>
|
|
<module>ruoyi-api</module>
|
|
<module>ruoyi-common</module>
|
|
</modules>
|
|
<packaging>pom</packaging>
|
|
|
|
<dependencies>
|
|
<!-- bootstrap 启动器 -->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-bootstrap</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<!-- 本地环境 -->
|
|
<id>dev</id>
|
|
<properties>
|
|
<spring.profile>dev</spring.profile>
|
|
<nacos.server.address>127.0.0.1:8848</nacos.server.address>
|
|
</properties>
|
|
<activation>
|
|
<!-- 是否默认激活 -->
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
</profile>
|
|
<profile>
|
|
<!-- 测试环境 -->
|
|
<id>test</id>
|
|
<properties>
|
|
<spring.profile>test</spring.profile>
|
|
<nacos.server.address>210.30.202.162:8848</nacos.server.address>
|
|
</properties>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
</profile>
|
|
<profile>
|
|
<!-- 生产环境 -->
|
|
<id>prod</id>
|
|
<properties>
|
|
<spring.profile>prod</spring.profile>
|
|
<nacos.server.address>192.168.174.128:8848</nacos.server.address>
|
|
<nacos.server.namespace>prod</nacos.server.namespace>
|
|
</properties>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<!--开启过滤,用指定的参数替换directory下的文件中的参数-->
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
|
|
<!-- <resource>-->
|
|
<!-- <directory>src/main/resources</directory>-->
|
|
<!-- <filtering>false</filtering>-->
|
|
<!-- <includes>-->
|
|
<!-- <include>**/*.docx</include>-->
|
|
<!-- </includes>-->
|
|
<!-- </resource>-->
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.10.1</version>
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
<configuration>
|
|
<!-- 指定过滤的表达式
|
|
<delimit>@</delimit> : 表示 过滤开头为 @ 结束为 @ 的内容,例如 @project.version@
|
|
<delimit>${*}</delimit> 表示 过滤${}包裹的内容,例如 ${project.vserion}
|
|
-->
|
|
<delimiters>@</delimiters>
|
|
<useDefaultDelimiters>false</useDefaultDelimiters>
|
|
|
|
<nonFilteredFileExtensions>
|
|
<nonFilteredFileExtension>docx</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>doc</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>xls</nonFilteredFileExtension>
|
|
</nonFilteredFileExtensions>
|
|
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>${spring-boot.version}</version>
|
|
<configuration>
|
|
<arguments>--enable-preview</arguments>
|
|
<jvmArguments>--enable-preview</jvmArguments>
|
|
<jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>public</id>
|
|
<name>aliyun nexus</name>
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>public</id>
|
|
<name>aliyun nexus</name>
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
</project>
|