401 lines
14 KiB
XML
401 lines
14 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>org.nl</groupId>
|
||
<artifactId>nl-robot</artifactId>
|
||
<version>1.0-SNAPSHOT</version>
|
||
<description>nl快速开发平台</description>
|
||
<modules>
|
||
<!-- 基础通用规则模块 -->
|
||
<module>nl-common</module>
|
||
<!-- API模块 -->
|
||
<module>nl-business-api</module>
|
||
<!-- 监控模块 -->
|
||
<module>nl-business-monitor</module>
|
||
<!-- 任务模块 -->
|
||
<module>nl-business-task</module>
|
||
<!-- 地图模块 -->
|
||
<module>nl-business-map</module>
|
||
<!-- 外部API模块 -->
|
||
<module>nl-business-externalApi</module>
|
||
<!-- 系统模块 -->
|
||
<module>nl-business-sys</module>
|
||
<!-- 调度模块 -->
|
||
<module>nl-business-schedule</module>
|
||
<!-- 设置模块 -->
|
||
<module>nl-business-setting</module>
|
||
<!-- 主启动模块 -->
|
||
<module>nl-web-app</module>
|
||
</modules>
|
||
<packaging>pom</packaging>
|
||
|
||
<parent>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-parent</artifactId>
|
||
<version>3.2.1</version>
|
||
</parent>
|
||
|
||
<properties>
|
||
<java.version>17</java.version>
|
||
<nl.version>1.0-SNAPSHOT</nl.version>
|
||
<spring-boot.version>3.2.1</spring-boot.version>
|
||
<spring-framework.version>6.1.2</spring-framework.version>
|
||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
</properties>
|
||
|
||
<dependencyManagement>
|
||
<!-- 版本控制 -->
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.nl</groupId>
|
||
<artifactId>nl-common</artifactId>
|
||
<version>${nl.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.nl</groupId>
|
||
<artifactId>nl-business-api</artifactId>
|
||
<version>${nl.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.nl</groupId>
|
||
<artifactId>nl-business-monitor</artifactId>
|
||
<version>${nl.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.nl</groupId>
|
||
<artifactId>nl-business-task</artifactId>
|
||
<version>${nl.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.nl</groupId>
|
||
<artifactId>nl-business-map</artifactId>
|
||
<version>${nl.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.nl</groupId>
|
||
<artifactId>nl-business-externalApi</artifactId>
|
||
<version>${nl.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.nl</groupId>
|
||
<artifactId>nl-business-sys</artifactId>
|
||
<version>${nl.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.nl</groupId>
|
||
<artifactId>nl-business-schedule</artifactId>
|
||
<version>${nl.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.nl</groupId>
|
||
<artifactId>nl-business-setting</artifactId>
|
||
<version>${nl.version}</version>
|
||
</dependency>
|
||
|
||
<!-- nashorn-core -->
|
||
<dependency>
|
||
<groupId>org.openjdk.nashorn</groupId>
|
||
<artifactId>nashorn-core</artifactId>
|
||
<version>15.4</version>
|
||
</dependency>
|
||
|
||
<!-- lombok -->
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<version>1.18.30</version>
|
||
</dependency>
|
||
|
||
<!-- druid -->
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>druid-spring-boot-3-starter</artifactId>
|
||
<version>1.2.21</version>
|
||
</dependency>
|
||
|
||
<!-- mybatis-plus -->
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
|
||
<version>3.5.5</version>
|
||
</dependency>
|
||
|
||
<!-- easy-trans -->
|
||
<dependency>
|
||
<groupId>com.fhs-opensource</groupId>
|
||
<artifactId>easy-trans-spring-boot-starter</artifactId>
|
||
<version>3.0.0</version>
|
||
</dependency>
|
||
|
||
<!-- zxing -->
|
||
<dependency>
|
||
<groupId>com.google.zxing</groupId>
|
||
<artifactId>core</artifactId>
|
||
<version>3.5.3</version>
|
||
</dependency>
|
||
|
||
<!-- zxing -->
|
||
<dependency>
|
||
<groupId>com.google.zxing</groupId>
|
||
<artifactId>javase</artifactId>
|
||
<version>3.5.3</version>
|
||
</dependency>
|
||
|
||
<!-- easy-trans-mybatis-plus-extend -->
|
||
<dependency>
|
||
<groupId>com.fhs-opensource</groupId>
|
||
<artifactId>easy-trans-mybatis-plus-extend</artifactId>
|
||
<version>3.0.0</version>
|
||
</dependency>
|
||
|
||
<!-- redis -->
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-pool2</artifactId>
|
||
<version>2.12.0</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.redisson</groupId>
|
||
<artifactId>redisson-spring-boot-starter</artifactId>
|
||
<version>3.16.4</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>io.github.eternalstone</groupId>
|
||
<artifactId>captcha-spring-boot-starter</artifactId>
|
||
<version>3.0.0</version>
|
||
</dependency>
|
||
|
||
<!-- 获取系统信息 -->
|
||
<dependency>
|
||
<groupId>com.github.oshi</groupId>
|
||
<artifactId>oshi-core</artifactId>
|
||
<version>6.4.4</version>
|
||
</dependency>
|
||
|
||
<!-- 解析客户端操作系统、浏览器信息 -->
|
||
<dependency>
|
||
<groupId>nl.basjes.parse.useragent</groupId>
|
||
<artifactId>yauaa</artifactId>
|
||
<version>5.23</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>commons-beanutils</groupId>
|
||
<artifactId>commons-beanutils-core</artifactId>
|
||
<version>1.8.0</version>
|
||
</dependency>
|
||
|
||
<!-- Sa-Token 整合 jwt -->
|
||
<dependency>
|
||
<groupId>cn.dev33</groupId>
|
||
<artifactId>sa-token-jwt</artifactId>
|
||
<version>1.37.0</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.alicp.jetcache</groupId>
|
||
<artifactId>jetcache-starter-redis</artifactId>
|
||
<version>2.5.14</version>
|
||
</dependency>
|
||
|
||
<!-- spring boot 缓存 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-cache</artifactId>
|
||
<version>${spring-boot.version}</version>
|
||
</dependency>
|
||
|
||
<!-- hutool -->
|
||
<dependency>
|
||
<groupId>cn.hutool</groupId>
|
||
<artifactId>hutool-all</artifactId>
|
||
<version>5.8.22</version>
|
||
</dependency>
|
||
|
||
<!-- fastjson -->
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>fastjson</artifactId>
|
||
<version>1.2.37</version>
|
||
</dependency>
|
||
|
||
<!-- validation -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-validation</artifactId>
|
||
<version>3.0.0</version>
|
||
</dependency>
|
||
|
||
<!-- websocket -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-websocket</artifactId>
|
||
<version>3.2.1</version>
|
||
</dependency>
|
||
|
||
<!-- aop -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-aop</artifactId>
|
||
<version>3.2.1</version>
|
||
</dependency>
|
||
|
||
<!-- pinyin4j -->
|
||
<dependency>
|
||
<groupId>com.belerweb</groupId>
|
||
<artifactId>pinyin4j</artifactId>
|
||
<version>2.5.1</version>
|
||
</dependency>
|
||
|
||
<!-- ip2region -->
|
||
<dependency>
|
||
<groupId>org.lionsoul</groupId>
|
||
<artifactId>ip2region</artifactId>
|
||
<version>2.7.0</version>
|
||
</dependency>
|
||
|
||
<!-- easy-poi -->
|
||
<dependency>
|
||
<groupId>cn.afterturn</groupId>
|
||
<artifactId>easypoi-spring-boot-starter</artifactId>
|
||
<version>4.4.0</version>
|
||
</dependency>
|
||
|
||
<!-- sm-crypto -->
|
||
<dependency>
|
||
<groupId>com.antherd</groupId>
|
||
<artifactId>sm-crypto</artifactId>
|
||
<version>0.3.2</version>
|
||
</dependency>
|
||
|
||
<!-- easyexcel -->
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>easyexcel</artifactId>
|
||
<version>3.3.3</version>
|
||
</dependency>
|
||
|
||
<!-- Sa-token-core -->
|
||
<dependency>
|
||
<groupId>cn.dev33</groupId>
|
||
<artifactId>sa-token-core</artifactId>
|
||
<version>1.37.0</version>
|
||
</dependency>
|
||
|
||
<!-- Sa-token -->
|
||
<dependency>
|
||
<groupId>cn.dev33</groupId>
|
||
<artifactId>sa-token-spring-boot3-starter</artifactId>
|
||
<version>1.37.0</version>
|
||
</dependency>
|
||
|
||
<!-- Sa-token 整合 redis (使用jackson序列化方式) -->
|
||
<dependency>
|
||
<groupId>cn.dev33</groupId>
|
||
<artifactId>sa-token-redis-jackson</artifactId>
|
||
<version>1.37.0</version>
|
||
</dependency>
|
||
|
||
<!-- Sa-Token插件:权限缓存与业务缓存分离 -->
|
||
<dependency>
|
||
<groupId>cn.dev33</groupId>
|
||
<artifactId>sa-token-alone-redis</artifactId>
|
||
<version>1.37.0</version>
|
||
</dependency>
|
||
|
||
<!-- Sa-Token 插件:整合SSO -->
|
||
<dependency>
|
||
<groupId>cn.dev33</groupId>
|
||
<artifactId>sa-token-sso</artifactId>
|
||
<version>1.37.0</version>
|
||
</dependency>
|
||
|
||
<!-- beetl模板引擎 -->
|
||
<dependency>
|
||
<groupId>com.ibeetl</groupId>
|
||
<artifactId>beetl-framework-starter</artifactId>
|
||
<version>1.2.40.Beetl.RELEASE</version>
|
||
</dependency>
|
||
|
||
<!--系统硬件信息-->
|
||
<dependency>
|
||
<groupId>com.github.oshi</groupId>
|
||
<artifactId>oshi-core</artifactId>
|
||
<version>6.4.11</version>
|
||
</dependency>
|
||
|
||
<!-- dynamic-datasource -->
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>dynamic-datasource-spring-boot3-starter</artifactId>
|
||
<version>4.3.1</version>
|
||
</dependency>
|
||
|
||
<!-- mysql -->
|
||
<dependency>
|
||
<groupId>com.mysql</groupId>
|
||
<artifactId>mysql-connector-j</artifactId>
|
||
<version>8.3.0</version>
|
||
</dependency>
|
||
</dependencies>
|
||
</dependencyManagement>
|
||
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<version>3.12.1</version>
|
||
<configuration>
|
||
<compilerArgs>
|
||
<arg>-parameters</arg>
|
||
</compilerArgs>
|
||
<source>17</source>
|
||
<target>17</target>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-source-plugin</artifactId>
|
||
<version>3.3.0</version>
|
||
<configuration>
|
||
<attach>true</attach>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<phase>compile</phase>
|
||
<goals>
|
||
<goal>jar</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
<resources>
|
||
<resource>
|
||
<directory>src/main/resources</directory>
|
||
</resource>
|
||
<resource>
|
||
<directory>src/main/java</directory>
|
||
<includes>
|
||
<include>**/*.xml</include>
|
||
</includes>
|
||
</resource>
|
||
</resources>
|
||
</build>
|
||
</project>
|