2020-10-26 11:33:36 +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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<artifactId>metersphere-server</artifactId>
|
|
|
|
<groupId>io.metersphere</groupId>
|
2022-04-15 09:06:13 +08:00
|
|
|
<version>${revision}</version>
|
2020-10-26 11:33:36 +08:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>backend</artifactId>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2022-02-25 10:16:08 +08:00
|
|
|
<shiro.version>1.8.0</shiro.version>
|
2022-03-17 19:17:47 +08:00
|
|
|
<java.version>11</java.version>
|
2021-12-20 15:08:59 +08:00
|
|
|
<flyway.version>7.15.0</flyway.version>
|
2022-03-22 10:54:15 +08:00
|
|
|
<dubbo.version>2.7.15</dubbo.version>
|
2020-10-26 11:33:36 +08:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<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-configuration-processor</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
2021-10-12 13:42:46 +08:00
|
|
|
<artifactId>spring-boot-starter-undertow</artifactId>
|
2020-10-26 11:33:36 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-mail</artifactId>
|
|
|
|
</dependency>
|
2021-01-13 13:46:18 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.kafka</groupId>
|
|
|
|
<artifactId>spring-kafka</artifactId>
|
|
|
|
</dependency>
|
2020-10-26 11:33:36 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
2022-03-31 11:08:29 +08:00
|
|
|
<version>2.2.2</version>
|
2020-10-26 11:33:36 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2021-05-31 14:31:38 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2022-03-23 19:42:55 +08:00
|
|
|
<!-- 后续考虑移到jmeter core -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>kg.apc</groupId>
|
|
|
|
<artifactId>jmeter-plugins-webdriver</artifactId>
|
|
|
|
<version>3.3</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.jmeter</groupId>
|
|
|
|
<artifactId>ApacheJMeter_core</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>slf4j-nop</artifactId>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
</exclusion>
|
2022-03-29 17:36:08 +08:00
|
|
|
<exclusion>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
</exclusion>
|
2022-03-29 18:21:52 +08:00
|
|
|
<exclusion>
|
|
|
|
<artifactId>mail</artifactId>
|
|
|
|
<groupId>javax.mail</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>geronimo-spec-javamail</artifactId>
|
|
|
|
<groupId>geronimo-spec</groupId>
|
|
|
|
</exclusion>
|
2022-03-23 19:42:55 +08:00
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
2020-10-26 11:33:36 +08:00
|
|
|
<!-- flyway -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.flywaydb</groupId>
|
|
|
|
<artifactId>flyway-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.pagehelper</groupId>
|
|
|
|
<artifactId>pagehelper</artifactId>
|
2022-01-01 09:48:23 +08:00
|
|
|
<version>5.3.0</version>
|
2020-10-26 11:33:36 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.shiro</groupId>
|
|
|
|
<artifactId>shiro-spring-boot-starter</artifactId>
|
|
|
|
<version>${shiro.version}</version>
|
|
|
|
</dependency>
|
2022-01-18 16:56:01 +08:00
|
|
|
<dependency>
|
2022-03-30 17:09:04 +08:00
|
|
|
<groupId>org.redisson</groupId>
|
|
|
|
<artifactId>redisson-spring-boot-starter</artifactId>
|
|
|
|
<version>3.17.0</version>
|
2022-01-18 16:56:01 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.session</groupId>
|
|
|
|
<artifactId>spring-session-data-redis</artifactId>
|
|
|
|
</dependency>
|
2020-10-26 11:33:36 +08:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-text</artifactId>
|
|
|
|
<version>1.8</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>fastjson</artifactId>
|
2022-04-11 18:48:33 +08:00
|
|
|
<version>1.2.80</version>
|
2020-10-26 11:33:36 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- openapi -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
<artifactId>springdoc-openapi-ui</artifactId>
|
2022-01-01 09:48:23 +08:00
|
|
|
<version>1.6.3</version>
|
2020-10-26 11:33:36 +08:00
|
|
|
</dependency>
|
|
|
|
|
2021-04-15 18:38:24 +08:00
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-rsocket -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-rsocket</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2020-10-26 11:33:36 +08:00
|
|
|
<dependency>
|
2021-11-19 19:41:04 +08:00
|
|
|
<groupId>io.metersphere</groupId>
|
|
|
|
<artifactId>ms-jmeter-core</artifactId>
|
2022-04-13 16:25:25 +08:00
|
|
|
<version>1.1.5</version>
|
2022-02-25 10:16:08 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>netty</artifactId>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
</exclusion>
|
2022-03-29 18:21:52 +08:00
|
|
|
<exclusion>
|
|
|
|
<artifactId>mail</artifactId>
|
|
|
|
<groupId>javax.mail</groupId>
|
|
|
|
</exclusion>
|
2022-02-25 10:16:08 +08:00
|
|
|
</exclusions>
|
2020-10-26 11:33:36 +08:00
|
|
|
</dependency>
|
2021-11-19 19:41:04 +08:00
|
|
|
|
2022-03-22 10:54:15 +08:00
|
|
|
<!-- 手动引入,不然会有 java.lang.NoClassDefFoundError: Could not initialize class org.apache.dubbo.config.ReferenceConfig -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.dubbo</groupId>
|
|
|
|
<artifactId>dubbo</artifactId>
|
|
|
|
<version>${dubbo.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2022-03-23 21:41:31 +08:00
|
|
|
<!-- jdk11 环境下有 Illegal reflective access -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.inject</groupId>
|
|
|
|
<artifactId>guice</artifactId>
|
|
|
|
<version>5.1.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
2022-03-22 10:54:15 +08:00
|
|
|
|
2021-03-22 18:28:20 +08:00
|
|
|
<!-- 排除jmeter中的 xstream 解决bug -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.thoughtworks.xstream</groupId>
|
|
|
|
<artifactId>xstream</artifactId>
|
2022-02-01 09:04:56 +08:00
|
|
|
<version>1.4.19</version>
|
2021-03-22 18:28:20 +08:00
|
|
|
</dependency>
|
2020-10-26 11:33:36 +08:00
|
|
|
|
|
|
|
<!-- easyexcel -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>easyexcel</artifactId>
|
2022-03-04 18:31:34 +08:00
|
|
|
<version>2.2.10</version>
|
2020-10-26 11:33:36 +08:00
|
|
|
</dependency>
|
|
|
|
|
2022-02-25 10:16:08 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.xmlbeans</groupId>
|
|
|
|
<artifactId>xmlbeans</artifactId>
|
|
|
|
<version>3.0.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
2020-10-26 11:33:36 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fit2cloud</groupId>
|
|
|
|
<artifactId>quartz-spring-boot-starter</artifactId>
|
2021-12-20 15:08:59 +08:00
|
|
|
<version>0.0.9</version>
|
2020-10-26 11:33:36 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- LDAP Module -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-ldap</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2021-03-30 10:10:17 +08:00
|
|
|
<!-- swagger 解析 -->
|
2020-12-30 22:00:00 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.swagger.parser.v3</groupId>
|
|
|
|
<artifactId>swagger-parser</artifactId>
|
2021-03-31 14:55:19 +08:00
|
|
|
<version>2.0.24</version>
|
2020-12-30 22:00:00 +08:00
|
|
|
</dependency>
|
2020-12-08 12:02:12 +08:00
|
|
|
|
2021-03-30 16:08:17 +08:00
|
|
|
|
2020-10-26 11:33:36 +08:00
|
|
|
<!-- 执行 js 代码依赖 -->
|
|
|
|
<dependency>
|
2021-04-09 17:44:56 +08:00
|
|
|
<groupId>org.mozilla</groupId>
|
|
|
|
<artifactId>rhino-engine</artifactId>
|
|
|
|
<version>1.7.13</version>
|
2020-10-26 11:33:36 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jsoup</groupId>
|
|
|
|
<artifactId>jsoup</artifactId>
|
2021-09-06 16:07:21 +08:00
|
|
|
<version>1.14.2</version>
|
2020-10-26 11:33:36 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.atlassian.commonmark</groupId>
|
|
|
|
<artifactId>commonmark</artifactId>
|
|
|
|
<version>0.15.2</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-compress</artifactId>
|
2021-08-10 11:33:23 +08:00
|
|
|
<version>1.21</version>
|
2020-10-26 11:33:36 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.dom4j</groupId>
|
|
|
|
<artifactId>dom4j</artifactId>
|
|
|
|
<version>2.1.3</version>
|
|
|
|
</dependency>
|
|
|
|
<!--xpath不加这个依赖会报错-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>jaxen</groupId>
|
|
|
|
<artifactId>jaxen</artifactId>
|
|
|
|
<version>1.2.0</version>
|
|
|
|
</dependency>
|
2021-01-23 13:48:41 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.sourceforge.htmlcleaner</groupId>
|
|
|
|
<artifactId>htmlcleaner</artifactId>
|
|
|
|
<version>2.24</version>
|
|
|
|
</dependency>
|
2020-10-26 11:33:36 +08:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
</dependency>
|
2020-12-15 13:56:23 +08:00
|
|
|
<!-- 反射工具包 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.oneandone.reflections8</groupId>
|
|
|
|
<artifactId>reflections8</artifactId>
|
|
|
|
<version>0.11.7</version>
|
|
|
|
</dependency>
|
2020-12-21 14:13:54 +08:00
|
|
|
<!-- k8s client -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.fabric8</groupId>
|
|
|
|
<artifactId>kubernetes-client</artifactId>
|
2022-02-25 10:16:08 +08:00
|
|
|
<version>4.13.2</version>
|
2020-12-21 14:13:54 +08:00
|
|
|
</dependency>
|
2021-11-19 19:41:04 +08:00
|
|
|
|
2021-07-30 15:10:01 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.java-websocket</groupId>
|
|
|
|
<artifactId>Java-WebSocket</artifactId>
|
2021-08-10 11:33:23 +08:00
|
|
|
<version>1.5.0</version>
|
2021-07-30 15:10:01 +08:00
|
|
|
</dependency>
|
2021-08-05 14:56:04 +08:00
|
|
|
<!-- xmind export-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.eljah</groupId>
|
|
|
|
<artifactId>xmindjbehaveplugin</artifactId>
|
|
|
|
<version>0.8</version>
|
|
|
|
</dependency>
|
2022-02-25 10:16:08 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-utils</artifactId>
|
|
|
|
<version>3.0.24</version>
|
|
|
|
</dependency>
|
2021-12-14 14:58:23 +08:00
|
|
|
<!-- selenium包 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
|
|
<artifactId>selenium-java</artifactId>
|
|
|
|
</dependency>
|
2021-09-07 14:31:19 +08:00
|
|
|
<!-- 基础包 -->
|
2021-09-02 16:31:30 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.metersphere</groupId>
|
|
|
|
<artifactId>metersphere-plugin-core</artifactId>
|
2021-09-09 15:53:01 +08:00
|
|
|
<version>1.0.1</version>
|
2021-12-16 14:51:37 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
</exclusion>
|
2022-01-15 17:29:59 +08:00
|
|
|
<exclusion>
|
|
|
|
<artifactId>ApacheJMeter_core</artifactId>
|
|
|
|
<groupId>org.apache.jmeter</groupId>
|
|
|
|
</exclusion>
|
2021-12-16 14:51:37 +08:00
|
|
|
</exclusions>
|
2021-09-02 16:31:30 +08:00
|
|
|
</dependency>
|
2021-09-07 14:31:19 +08:00
|
|
|
<!--随机数据生成API-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.apifan.common</groupId>
|
|
|
|
<artifactId>common-random</artifactId>
|
|
|
|
<version>1.0.7</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.mifmif</groupId>
|
|
|
|
<artifactId>generex</artifactId>
|
|
|
|
<version>1.0.2</version>
|
|
|
|
</dependency>
|
2021-11-04 12:54:59 +08:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.json-lib</groupId>
|
|
|
|
<artifactId>json-lib</artifactId>
|
|
|
|
<version>2.4</version>
|
2021-11-15 10:59:59 +08:00
|
|
|
<classifier>jdk15</classifier>
|
2021-11-04 12:54:59 +08:00
|
|
|
</dependency>
|
2021-11-26 16:00:24 +08:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<version>31.0.1-jre</version>
|
|
|
|
</dependency>
|
2022-03-23 19:42:55 +08:00
|
|
|
|
|
|
|
<!--java json schema json格式校验-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.java-json-tools</groupId>
|
|
|
|
<artifactId>json-schema-validator</artifactId>
|
|
|
|
<version>2.2.14</version>
|
|
|
|
</dependency>
|
2020-10-26 11:33:36 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/java</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.properties</include>
|
|
|
|
<include>**/*.xml</include>
|
2022-03-23 19:42:55 +08:00
|
|
|
<include>**/*.json</include>
|
|
|
|
<include>**/*.tpl</include>
|
|
|
|
<include>**/*.js</include>
|
2020-10-26 11:33:36 +08:00
|
|
|
</includes>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*</include>
|
|
|
|
</includes>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<addResources>true</addResources>
|
|
|
|
<excludes>
|
|
|
|
<exclude>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
</exclude>
|
|
|
|
<exclude>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>2.12.4</version>
|
|
|
|
<configuration>
|
|
|
|
<skipTests>true</skipTests>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>src/main/resources/static</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**</include>
|
|
|
|
</includes>
|
|
|
|
<followSymlinks>false</followSymlinks>
|
|
|
|
</fileset>
|
|
|
|
<fileset>
|
2021-05-31 17:06:24 +08:00
|
|
|
<directory>src/main/resources/public</directory>
|
2020-10-26 11:33:36 +08:00
|
|
|
<includes>
|
|
|
|
<include>**</include>
|
|
|
|
</includes>
|
|
|
|
<followSymlinks>false</followSymlinks>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
2022-03-17 19:23:20 +08:00
|
|
|
<release>11</release>
|
2020-10-26 11:33:36 +08:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Overlay guacamole-common-js (zip) -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<version>2.6</version>
|
|
|
|
</plugin>
|
|
|
|
|
2022-03-24 14:50:22 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>main-class-placement</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<move todir="src/main/resources/static">
|
|
|
|
<fileset dir="../frontend/dist">
|
|
|
|
<exclude name="*.html"/>
|
|
|
|
</fileset>
|
|
|
|
</move>
|
|
|
|
<move todir="src/main/resources/public">
|
|
|
|
<fileset dir="../frontend/dist">
|
|
|
|
<include name="*.html"/>
|
|
|
|
</fileset>
|
|
|
|
</move>
|
|
|
|
<copy todir="src/main/resources/static/css">
|
|
|
|
<fileset dir="../frontend/src/assets/theme">
|
|
|
|
<include name="index.css"/>
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2020-10-26 11:33:36 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy</id>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.apache.jmeter</groupId>
|
|
|
|
<artifactId>ApacheJMeter_functions</artifactId>
|
2021-12-27 15:43:14 +08:00
|
|
|
<version>5.4.3</version>
|
2020-10-26 11:33:36 +08:00
|
|
|
<type>jar</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
<outputDirectory>src/main/resources/jmeter/lib/ext</outputDirectory>
|
|
|
|
<destFileName>ApacheJMeter_functions.jar</destFileName>
|
|
|
|
</artifactItem>
|
2021-06-19 21:20:01 +08:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>io.metersphere</groupId>
|
|
|
|
<artifactId>metersphere-jmeter-functions</artifactId>
|
2021-12-16 11:38:52 +08:00
|
|
|
<version>1.4</version>
|
2021-06-19 21:20:01 +08:00
|
|
|
<type>jar</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
<outputDirectory>src/main/resources/jmeter/lib/ext</outputDirectory>
|
|
|
|
<destFileName>metersphere-jmeter-functions.jar</destFileName>
|
|
|
|
</artifactItem>
|
2020-10-26 11:33:36 +08:00
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.python</groupId>
|
|
|
|
<artifactId>jython-standalone</artifactId>
|
2021-09-13 15:38:29 +08:00
|
|
|
<version>2.7.2</version>
|
2020-10-26 11:33:36 +08:00
|
|
|
<type>jar</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
<outputDirectory>src/main/resources/jmeter/lib/ext</outputDirectory>
|
|
|
|
<destFileName>jython-standalone.jar</destFileName>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
<outputDirectory>${project.build.directory}/wars</outputDirectory>
|
|
|
|
<overWriteReleases>false</overWriteReleases>
|
|
|
|
<overWriteSnapshots>true</overWriteSnapshots>
|
|
|
|
</configuration>
|
|
|
|
</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>
|
|
|
|
</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.8</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-and-filter-allatori-config</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/target</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${basedir}/allatori</directory>
|
|
|
|
<includes>
|
|
|
|
<include>allatori.xml</include>
|
|
|
|
</includes>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>run-allatori</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<executable>java</executable>
|
|
|
|
<arguments>
|
|
|
|
<argument>-Xms128m</argument>
|
|
|
|
<argument>-Xmx512m</argument>
|
|
|
|
<argument>-jar</argument>
|
|
|
|
<argument>${basedir}/target/classes/allatori/allatori.jar</argument>
|
|
|
|
<argument>${basedir}/target/classes/allatori/allatori.xml</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2021-03-30 10:10:17 +08:00
|
|
|
</project>
|