build: pom change

This commit is contained in:
CaptainB 2023-04-18 10:09:10 +08:00
parent 7b83153b40
commit d4e26317bd
1 changed files with 105 additions and 93 deletions

View File

@ -40,62 +40,31 @@
</exclusions> </exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.mybatis.spring.boot</groupId> <groupId>io.metersphere</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId> <artifactId>metersphere-jmeter-functions</artifactId>
<version>${mybatis-starter.version}</version> <version>${metersphere-jmeter-functions.version}</version>
</dependency> </dependency>
<!-- 基础包 -->
<dependency> <dependency>
<groupId>com.mysql</groupId> <groupId>io.metersphere</groupId>
<artifactId>mysql-connector-j</artifactId> <artifactId>metersphere-plugin-sdk</artifactId>
<scope>runtime</scope> <version>${version}</version>
</dependency> <exclusions>
<dependency> <exclusion>
<groupId>org.flywaydb</groupId> <artifactId>log4j-slf4j-impl</artifactId>
<artifactId>flyway-core</artifactId> <groupId>org.apache.logging.log4j</groupId>
</dependency> </exclusion>
<dependency> <exclusion>
<groupId>org.flywaydb</groupId> <artifactId>ApacheJMeter_core</artifactId>
<artifactId>flyway-mysql</artifactId> <groupId>org.apache.jmeter</groupId>
</exclusion>
</exclusions>
</dependency> </dependency>
<!-- start spring 相关 -->
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId> <artifactId>spring-boot-starter-aop</artifactId>
</dependency> </dependency>
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>${pagehelper.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
<version>${commons-collections4.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<version>${commons-text.version}</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>${commons-fileupload.version}</version>
</dependency>
<!-- openapi -->
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>${springdoc-openapi-ui.version}</version>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
@ -114,24 +83,6 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId> <artifactId>spring-boot-starter-websocket</artifactId>
</dependency> </dependency>
<!-- http2 配置-->
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-alpn-server</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-alpn-conscrypt-server</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.http2</groupId>
<artifactId>http2-server</artifactId>
</dependency>
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson-spring-boot-starter</artifactId>
<version>${redisson-starter.version}</version>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.session</groupId> <groupId>org.springframework.session</groupId>
<artifactId>spring-session-data-redis</artifactId> <artifactId>spring-session-data-redis</artifactId>
@ -156,10 +107,88 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-rsocket</artifactId> <artifactId>spring-boot-starter-rsocket</artifactId>
</dependency> </dependency>
<!-- end spring 相关 -->
<!-- start mysql 相关 -->
<dependency> <dependency>
<groupId>io.metersphere</groupId> <groupId>org.mybatis.spring.boot</groupId>
<artifactId>metersphere-jmeter-functions</artifactId> <artifactId>mybatis-spring-boot-starter</artifactId>
<version>${metersphere-jmeter-functions.version}</version> <version>${mybatis-starter.version}</version>
</dependency>
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-mysql</artifactId>
</dependency>
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>${pagehelper.version}</version>
</dependency>
<!-- end mysql 相关 -->
<!-- start apache commons 相关-->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
<version>${commons-collections4.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<version>${commons-text.version}</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>${commons-fileupload.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>${commons-compress.version}</version>
</dependency>
<!-- end apache commons 相关-->
<!-- openapi -->
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>${springdoc-openapi-ui.version}</version>
</dependency>
<!-- start http2 配置-->
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-alpn-server</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-alpn-conscrypt-server</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.http2</groupId>
<artifactId>http2-server</artifactId>
</dependency>
<!-- end http2 配置-->
<!-- redisson 配置-->
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson-spring-boot-starter</artifactId>
<version>${redisson-starter.version}</version>
</dependency> </dependency>
<!-- easyexcel --> <!-- easyexcel -->
<dependency> <dependency>
@ -173,12 +202,13 @@
<artifactId>reflections</artifactId> <artifactId>reflections</artifactId>
<version>${reflections.version}</version> <version>${reflections.version}</version>
</dependency> </dependency>
<!-- 定时任务配置-->
<dependency> <dependency>
<groupId>com.fit2cloud</groupId> <groupId>com.fit2cloud</groupId>
<artifactId>quartz-spring-boot-starter</artifactId> <artifactId>quartz-spring-boot-starter</artifactId>
<version>${quartz-starter.version}</version> <version>${quartz-starter.version}</version>
</dependency> </dependency>
<!-- shiro --> <!-- start shiro -->
<dependency> <dependency>
<groupId>org.apache.shiro</groupId> <groupId>org.apache.shiro</groupId>
<artifactId>shiro-spring-boot-starter</artifactId> <artifactId>shiro-spring-boot-starter</artifactId>
@ -212,7 +242,8 @@
</exclusion> </exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<!-- end shiro -->
<!-- 解析xml-->
<dependency> <dependency>
<groupId>org.dom4j</groupId> <groupId>org.dom4j</groupId>
<artifactId>dom4j</artifactId> <artifactId>dom4j</artifactId>
@ -280,11 +311,7 @@
<artifactId>commonmark</artifactId> <artifactId>commonmark</artifactId>
<version>${commonmark.version}</version> <version>${commonmark.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>${commons-compress.version}</version>
</dependency>
<!--xpath不加这个依赖会报错--> <!--xpath不加这个依赖会报错-->
<dependency> <dependency>
<groupId>jaxen</groupId> <groupId>jaxen</groupId>
@ -339,22 +366,7 @@
<version>${selenium.version}</version> <version>${selenium.version}</version>
</dependency> </dependency>
<!-- 基础包 -->
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>metersphere-plugin-sdk</artifactId>
<version>${version}</version>
<exclusions>
<exclusion>
<artifactId>log4j-slf4j-impl</artifactId>
<groupId>org.apache.logging.log4j</groupId>
</exclusion>
<exclusion>
<artifactId>ApacheJMeter_core</artifactId>
<groupId>org.apache.jmeter</groupId>
</exclusion>
</exclusions>
</dependency>
<!--随机数据生成API--> <!--随机数据生成API-->
<dependency> <dependency>
<groupId>com.apifan.common</groupId> <groupId>com.apifan.common</groupId>