181 lines
5.6 KiB
XML
181 lines
5.6 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>
|
||
<parent>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-parent</artifactId>
|
||
<version>2.3.5.RELEASE</version>
|
||
<relativePath/> <!-- lookup parent from repository -->
|
||
</parent>
|
||
<groupId>club.joylink</groupId>
|
||
<artifactId>rtss</artifactId>
|
||
<version>0.0.1-SNAPSHOT</version>
|
||
<name>rtss</name>
|
||
<description> Rail transit simulation system</description>
|
||
|
||
<properties>
|
||
<java.version>11</java.version>
|
||
<pagehelper.version>4.1.1</pagehelper.version>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-mail</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-validation</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-websocket</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.mybatis.spring.boot</groupId>
|
||
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||
<version>2.1.3</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.github.pagehelper</groupId>
|
||
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
||
<version>1.3.0</version>
|
||
</dependency>
|
||
|
||
<!-- javax.validation -->
|
||
<dependency>
|
||
<groupId>javax.validation</groupId>
|
||
<artifactId>validation-api</artifactId>
|
||
</dependency>
|
||
|
||
<!--spring切面aop依赖 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-aop</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>io.netty</groupId>
|
||
<artifactId>netty-all</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.digitalpetri.modbus</groupId>
|
||
<artifactId>modbus-codec</artifactId>
|
||
<version>1.1.1</version>
|
||
</dependency>
|
||
|
||
<!-- 硬件检测依赖 -->
|
||
<dependency>
|
||
<groupId>com.github.oshi</groupId>
|
||
<artifactId>oshi-core-java11</artifactId>
|
||
<version>5.7.5</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>mysql</groupId>
|
||
<artifactId>mysql-connector-java</artifactId>
|
||
<scope>runtime</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.junit.vintage</groupId>
|
||
<artifactId>junit-vintage-engine</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.github.wechatpay-apiv3</groupId>
|
||
<artifactId>wechatpay-apache-httpclient</artifactId>
|
||
<version>0.2.1</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.huawei.sis</groupId>
|
||
<artifactId>huaweicloud-java-sdk-sis</artifactId>
|
||
<version>1.3.2</version>
|
||
<scope>system</scope>
|
||
<systemPath>${project.basedir}/libs/huaweicloud-java-sdk-sis-1.3.2.jar</systemPath>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.huawei.apigateway</groupId>
|
||
<artifactId>java-sdk-core</artifactId>
|
||
<version>3.0.12</version>
|
||
<scope>system</scope>
|
||
<systemPath>${project.basedir}/libs/java-sdk-core-3.0.12.jar</systemPath>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.squareup.okhttp3</groupId>
|
||
<artifactId>okhttp</artifactId>
|
||
<version>3.14.2</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>joda-time</groupId>
|
||
<artifactId>joda-time</artifactId>
|
||
<version>2.10.3</version>
|
||
</dependency>
|
||
|
||
</dependencies>
|
||
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
<configuration>
|
||
<includeSystemScope>true</includeSystemScope>
|
||
</configuration>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>com.github.shalousun</groupId>
|
||
<artifactId>smart-doc-maven-plugin</artifactId>
|
||
<version>2.1.9</version>
|
||
<configuration>
|
||
<!--指定生成文档的使用的配置文件,配置文件放在自己的项目中-->
|
||
<configFile>./src/main/resources/smart-doc.json</configFile>
|
||
<!--指定项目名称-->
|
||
<projectName>测试</projectName>
|
||
<!--smart-doc实现自动分析依赖树加载第三方依赖的源码,如果一些框架依赖库加载不到导致报错,这时请使用excludes排除掉-->
|
||
<excludes>
|
||
<!--格式为:groupId:artifactId;参考如下-->
|
||
<exclude>com.alibaba:fastjson</exclude>
|
||
</excludes>
|
||
<!--自1.0.8版本开始,插件提供includes支持,配置了includes后插件会按照用户配置加载而不是自动加载,因此使用时需要注意-->
|
||
<!--smart-doc能自动分析依赖树加载所有依赖源码,原则上会影响文档构建效率,因此你可以使用includes来让插件加载你配置的组件-->
|
||
<includes>
|
||
<!--格式为:groupId:artifactId;参考如下-->
|
||
<include>com.alibaba:fastjson</include>
|
||
</includes>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<!--如果不需要在执行编译时启动smart-doc,则将phase注释掉-->
|
||
<phase>compile</phase>
|
||
<goals>
|
||
<!--smart-doc提供了html、openapi、markdown等goal,可按需配置-->
|
||
<goal>html</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
</project>
|