2022-10-10 13:41:39 +08:00
|
|
|
<?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>io.metersphere</groupId>
|
|
|
|
<artifactId>sdk-parent</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</parent>
|
|
|
|
<artifactId>sdk</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
<name>sdk</name>
|
|
|
|
<description>sdk</description>
|
|
|
|
<properties>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.metersphere</groupId>
|
|
|
|
<artifactId>domain</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
|
|
|
|
</dependency>
|
2022-11-25 08:51:52 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter</artifactId>
|
|
|
|
</dependency>
|
2022-10-10 13:41:39 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
|
<version>${mybatis-starter.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2023-02-24 19:52:32 +08:00
|
|
|
<groupId>com.mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-j</artifactId>
|
2022-10-10 13:41:39 +08:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.flywaydb</groupId>
|
|
|
|
<artifactId>flyway-core</artifactId>
|
|
|
|
</dependency>
|
2022-11-25 08:51:52 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.flywaydb</groupId>
|
|
|
|
<artifactId>flyway-mysql</artifactId>
|
|
|
|
</dependency>
|
2022-10-10 13:41:39 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
|
</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>
|
|
|
|
</dependency>
|
2023-02-22 16:37:01 +08:00
|
|
|
|
2022-10-10 13:41:39 +08:00
|
|
|
<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>
|
2023-01-28 22:14:59 +08:00
|
|
|
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
2022-10-10 13:41:39 +08:00
|
|
|
<version>${springdoc-openapi-ui.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-jetty</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
|
</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>
|
|
|
|
<groupId>org.springframework.session</groupId>
|
|
|
|
<artifactId>spring-session-data-redis</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-mail</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-ldap</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.kafka</groupId>
|
|
|
|
<artifactId>spring-kafka</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-rsocket</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.metersphere</groupId>
|
|
|
|
<artifactId>metersphere-jmeter-functions</artifactId>
|
|
|
|
<version>${metersphere-jmeter-functions.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- easyexcel -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>easyexcel</artifactId>
|
|
|
|
<version>${easyexcel.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- 反射工具包 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.reflections</groupId>
|
|
|
|
<artifactId>reflections</artifactId>
|
|
|
|
<version>${reflections.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fit2cloud</groupId>
|
|
|
|
<artifactId>quartz-spring-boot-starter</artifactId>
|
|
|
|
<version>${quartz-starter.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- shiro -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.shiro</groupId>
|
|
|
|
<artifactId>shiro-spring-boot-starter</artifactId>
|
|
|
|
<version>${shiro.version}</version>
|
2022-11-25 08:51:52 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.shiro</groupId>
|
|
|
|
<artifactId>shiro-web</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.shiro</groupId>
|
|
|
|
<artifactId>shiro-spring</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.shiro</groupId>
|
|
|
|
<artifactId>shiro-web</artifactId>
|
|
|
|
<version>${shiro.version}</version>
|
|
|
|
<classifier>jakarta</classifier>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.shiro</groupId>
|
|
|
|
<artifactId>shiro-spring</artifactId>
|
|
|
|
<version>${shiro.version}</version>
|
|
|
|
<classifier>jakarta</classifier>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>shiro-web</artifactId>
|
|
|
|
<groupId>org.apache.shiro</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2022-10-10 13:41:39 +08:00
|
|
|
</dependency>
|
2022-11-25 08:51:52 +08:00
|
|
|
|
2022-10-10 13:41:39 +08:00
|
|
|
<!-- ms-jmeter-core -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.metersphere</groupId>
|
|
|
|
<artifactId>ms-jmeter-core</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>netty</artifactId>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>mail</artifactId>
|
|
|
|
<groupId>javax.mail</groupId>
|
|
|
|
</exclusion>
|
2023-02-21 18:23:47 +08:00
|
|
|
<exclusion>
|
|
|
|
<artifactId>javax.activation</artifactId>
|
|
|
|
<groupId>com.sun.activation</groupId>
|
|
|
|
</exclusion>
|
2022-10-10 13:41:39 +08:00
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.dom4j</groupId>
|
|
|
|
<artifactId>dom4j</artifactId>
|
|
|
|
<version>${dom4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<version>${guava.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!--解决升级JDK11后动态加载JAR 需要JVM的JCA签名信任才能作为加密提供者-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
|
|
<version>${bcprov-jdk15on.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- jdk11 环境下有 Illegal reflective access -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.inject</groupId>
|
|
|
|
<artifactId>guice</artifactId>
|
|
|
|
<version>${guice.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- 排除jmeter中的 xstream 解决bug -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.thoughtworks.xstream</groupId>
|
|
|
|
<artifactId>xstream</artifactId>
|
|
|
|
<version>${xstream.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.xmlbeans</groupId>
|
|
|
|
<artifactId>xmlbeans</artifactId>
|
|
|
|
<version>${xmlbeans.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- swagger 解析 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.swagger.parser.v3</groupId>
|
|
|
|
<artifactId>swagger-parser</artifactId>
|
|
|
|
<version>${swagger-parser.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- 执行 js 代码依赖 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mozilla</groupId>
|
|
|
|
<artifactId>rhino-engine</artifactId>
|
|
|
|
<version>${rhino.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jsoup</groupId>
|
|
|
|
<artifactId>jsoup</artifactId>
|
|
|
|
<version>${jsoup.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.commonmark</groupId>
|
|
|
|
<artifactId>commonmark</artifactId>
|
|
|
|
<version>${commonmark.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-compress</artifactId>
|
|
|
|
<version>${commons-compress.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!--xpath不加这个依赖会报错-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>jaxen</groupId>
|
|
|
|
<artifactId>jaxen</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.htmlcleaner</groupId>
|
|
|
|
<artifactId>htmlcleaner</artifactId>
|
|
|
|
<version>${htmlcleaner.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- k8s client -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.fabric8</groupId>
|
|
|
|
<artifactId>kubernetes-client</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.java-websocket</groupId>
|
|
|
|
<artifactId>Java-WebSocket</artifactId>
|
|
|
|
<version>${java-websocket.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- xmind export-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.eljah</groupId>
|
|
|
|
<artifactId>xmindjbehaveplugin</artifactId>
|
|
|
|
<version>${xmindjbehaveplugin.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-utils</artifactId>
|
|
|
|
<version>${plexus.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- selenium包 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
|
|
<artifactId>selenium-java</artifactId>
|
2023-02-21 18:23:47 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jakarta.activation</artifactId>
|
|
|
|
<groupId>com.sun.activation</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2022-10-10 13:41:39 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- 基础包 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.metersphere</groupId>
|
|
|
|
<artifactId>metersphere-plugin-core</artifactId>
|
|
|
|
<version>${metersphere-plugin-core.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-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.apifan.common</groupId>
|
|
|
|
<artifactId>common-random</artifactId>
|
|
|
|
<version>${common-random.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.mifmif</groupId>
|
|
|
|
<artifactId>generex</artifactId>
|
|
|
|
<version>${generex.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.json-lib</groupId>
|
|
|
|
<artifactId>json-lib</artifactId>
|
|
|
|
<version>${json-lib.version}</version>
|
|
|
|
<classifier>jdk15</classifier>
|
2022-12-07 18:48:29 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-collections</artifactId>
|
|
|
|
<groupId>commons-collections</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2022-10-10 13:41:39 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--java json schema json格式校验-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.java-json-tools</groupId>
|
|
|
|
<artifactId>json-schema-validator</artifactId>
|
|
|
|
<version>${json-schema-validator.version}</version>
|
2023-02-21 18:23:47 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>mailapi</artifactId>
|
|
|
|
<groupId>com.sun.mail</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2022-10-10 13:41:39 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<artifactId>xz</artifactId>
|
|
|
|
<groupId>org.tukaani</groupId>
|
|
|
|
<version>${xz.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- minio -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.minio</groupId>
|
|
|
|
<artifactId>minio</artifactId>
|
|
|
|
<version>${minio.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- jgit -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jgit</groupId>
|
|
|
|
<artifactId>org.eclipse.jgit</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/java</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.properties</include>
|
|
|
|
<include>**/*.xml</include>
|
|
|
|
<include>**/*.json</include>
|
|
|
|
<include>**/*.tpl</include>
|
|
|
|
<include>**/*.js</include>
|
|
|
|
</includes>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*</include>
|
|
|
|
</includes>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
2022-12-07 18:48:29 +08:00
|
|
|
|
2022-10-10 13:41:39 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|