429 lines
16 KiB
XML
429 lines
16 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>io.metersphere</groupId>
|
|
<artifactId>framework</artifactId>
|
|
<version>${revision}</version>
|
|
</parent>
|
|
<artifactId>metersphere-sdk</artifactId>
|
|
<version>${revision}</version>
|
|
<name>metersphere-sdk</name>
|
|
<description>sdk</description>
|
|
<properties>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.metersphere</groupId>
|
|
<artifactId>metersphere-domain</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.metersphere</groupId>
|
|
<artifactId>metersphere-jmeter-functions</artifactId>
|
|
<version>${metersphere-jmeter-functions.version}</version>
|
|
</dependency>
|
|
<!-- 基础包 -->
|
|
<dependency>
|
|
<groupId>io.metersphere</groupId>
|
|
<artifactId>metersphere-api-plugin-sdk</artifactId>
|
|
<version>${revision}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>ApacheJMeter_core</artifactId>
|
|
<groupId>org.apache.jmeter</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.metersphere</groupId>
|
|
<artifactId>metersphere-platform-plugin-sdk</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents.core5</groupId>
|
|
<artifactId>httpcore5</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents.client5</groupId>
|
|
<artifactId>httpclient5</artifactId>
|
|
</dependency>
|
|
|
|
<!-- start spring 相关 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
</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>
|
|
<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>
|
|
<!-- end spring 相关 -->
|
|
<!-- start mysql 相关 -->
|
|
<dependency>
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
<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>
|
|
<!-- 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>
|
|
<!-- start shiro -->
|
|
<dependency>
|
|
<groupId>org.apache.shiro</groupId>
|
|
<artifactId>shiro-spring-boot-starter</artifactId>
|
|
<version>${shiro.version}</version>
|
|
<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>
|
|
</dependency>
|
|
<!-- end shiro -->
|
|
<!-- 解析xml-->
|
|
<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>
|
|
|
|
|
|
<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>
|
|
|
|
<!--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>
|
|
<version>${kubernetes-client.version}</version>
|
|
</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>
|
|
|
|
<!--随机数据生成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>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>commons-collections</artifactId>
|
|
<groupId>commons-collections</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>commons-beanutils</artifactId>
|
|
<groupId>commons-beanutils</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!--java json schema json格式校验-->
|
|
<dependency>
|
|
<groupId>com.github.java-json-tools</groupId>
|
|
<artifactId>json-schema-validator</artifactId>
|
|
<version>${json-schema-validator.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>mailapi</artifactId>
|
|
<groupId>com.sun.mail</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>rhino</artifactId>
|
|
<groupId>org.mozilla</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</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>
|
|
<version>${jgit.version}</version>
|
|
</dependency>
|
|
<!-- otp -->
|
|
<dependency>
|
|
<groupId>com.github.bastiaanjansen</groupId>
|
|
<artifactId>otp-java</artifactId>
|
|
<version>${otp-java.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>test-jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.mybatis.generator</groupId>
|
|
<artifactId>mybatis-generator-maven-plugin</artifactId>
|
|
<version>1.3.7</version>
|
|
<configuration>
|
|
<verbose>true</verbose>
|
|
<overwrite>true</overwrite>
|
|
<configurationFile>src/main/resources/sdkGeneratorConfig.xml</configurationFile>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>8.0.16</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.itfsw</groupId>
|
|
<artifactId>mybatis-generator-plugin</artifactId>
|
|
<version>1.3.10</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.metersphere</groupId>
|
|
<artifactId>mybatis-tools</artifactId>
|
|
<version>3.0.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|