2020-02-03 14:01:28 +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">
|
2020-02-03 16:30:16 +08:00
|
|
|
|
|
|
|
|
2020-02-03 14:01:28 +08:00
|
|
|
<parent>
|
2020-02-03 16:30:16 +08:00
|
|
|
<artifactId>metersphere-server</artifactId>
|
|
|
|
<groupId>io.metersphere</groupId>
|
2020-07-22 19:43:15 +08:00
|
|
|
<version>1.1</version>
|
2020-02-03 14:01:28 +08:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>backend</artifactId>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2020-02-25 17:37:34 +08:00
|
|
|
<shiro.version>1.5.1</shiro.version>
|
2020-02-03 14:01:28 +08:00
|
|
|
<java.version>1.8</java.version>
|
2020-02-18 21:25:51 +08:00
|
|
|
<jmeter.version>5.2.1</jmeter.version>
|
2020-07-17 11:18:46 +08:00
|
|
|
<nacos.version>1.1.3</nacos.version>
|
|
|
|
<dubbo.version>2.7.7</dubbo.version>
|
2020-08-06 15:50:45 +08:00
|
|
|
<graalvm.version>20.1.0</graalvm.version>
|
2020-02-03 14:01:28 +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>
|
|
|
|
|
2020-04-30 11:04:37 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2020-02-03 14:01:28 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2020-07-28 14:35:43 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2020-02-03 14:01:28 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
2020-05-06 21:39:08 +08:00
|
|
|
<scope>test</scope>
|
2020-02-03 14:01:28 +08:00
|
|
|
</dependency>
|
2020-05-06 21:39:08 +08:00
|
|
|
|
2020-02-03 14:01:28 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-jetty</artifactId>
|
|
|
|
</dependency>
|
2020-05-20 17:22:45 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-mail</artifactId>
|
|
|
|
</dependency>
|
2020-06-22 12:49:20 +08:00
|
|
|
|
2020-04-22 17:29:54 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2020-02-03 14:01:28 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
2020-03-17 19:15:54 +08:00
|
|
|
<version>2.1.2</version>
|
2020-02-03 14:01:28 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
|
</dependency>
|
2020-06-22 12:49:20 +08:00
|
|
|
|
2020-03-05 14:55:02 +08:00
|
|
|
<!-- flyway -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.flywaydb</groupId>
|
|
|
|
<artifactId>flyway-core</artifactId>
|
|
|
|
</dependency>
|
2020-02-03 14:01:28 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.pagehelper</groupId>
|
|
|
|
<artifactId>pagehelper</artifactId>
|
|
|
|
<version>5.0.3</version>
|
|
|
|
</dependency>
|
2020-03-05 14:55:02 +08:00
|
|
|
|
2020-02-03 14:01:28 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.shiro</groupId>
|
2020-02-25 17:37:34 +08:00
|
|
|
<artifactId>shiro-spring-boot-starter</artifactId>
|
2020-02-03 14:01:28 +08:00
|
|
|
<version>${shiro.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
</dependency>
|
2020-03-04 11:32:17 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-collections4</artifactId>
|
|
|
|
<version>4.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-text</artifactId>
|
|
|
|
<version>1.8</version>
|
|
|
|
</dependency>
|
2020-02-20 12:10:32 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
</dependency>
|
2020-02-03 14:01:28 +08:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>fastjson</artifactId>
|
2020-07-21 11:34:30 +08:00
|
|
|
<version>1.2.72</version>
|
2020-02-03 14:01:28 +08:00
|
|
|
</dependency>
|
|
|
|
|
2020-06-23 11:13:17 +08:00
|
|
|
<!-- openapi -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
<artifactId>springdoc-openapi-ui</artifactId>
|
|
|
|
<version>1.2.32</version>
|
|
|
|
</dependency>
|
2020-02-03 14:01:28 +08:00
|
|
|
|
2020-04-27 17:10:21 +08:00
|
|
|
<!-- jmeter -->
|
2020-06-23 11:13:17 +08:00
|
|
|
<!-- <dependency>-->
|
|
|
|
<!-- <groupId>org.apache.jmeter</groupId>-->
|
|
|
|
<!-- <artifactId>ApacheJMeter_core</artifactId>-->
|
|
|
|
<!-- <version>${jmeter.version}</version>-->
|
|
|
|
<!-- </dependency>-->
|
2020-04-27 17:10:21 +08:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.jmeter</groupId>
|
|
|
|
<artifactId>ApacheJMeter_http</artifactId>
|
|
|
|
<version>${jmeter.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
2020-08-10 17:06:05 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.jmeter</groupId>
|
|
|
|
<artifactId>ApacheJMeter_functions</artifactId>
|
|
|
|
<version>${jmeter.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2020-07-17 11:18:46 +08:00
|
|
|
<!-- Zookeeper -->
|
2020-07-17 10:17:47 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.dubbo</groupId>
|
|
|
|
<artifactId>dubbo</artifactId>
|
2020-07-17 11:18:46 +08:00
|
|
|
<version>${dubbo.version}</version>
|
2020-07-17 10:17:47 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.zookeeper</groupId>
|
|
|
|
<artifactId>zookeeper</artifactId>
|
|
|
|
<version>3.4.13</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.curator</groupId>
|
|
|
|
<artifactId>curator-framework</artifactId>
|
|
|
|
<version>4.0.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.curator</groupId>
|
|
|
|
<artifactId>curator-recipes</artifactId>
|
|
|
|
<version>4.0.1</version>
|
|
|
|
</dependency>
|
2020-07-17 11:18:46 +08:00
|
|
|
|
|
|
|
<!-- nacos -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.dubbo</groupId>
|
|
|
|
<artifactId>dubbo-registry-nacos</artifactId>
|
|
|
|
<version>${dubbo.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.nacos</groupId>
|
|
|
|
<artifactId>nacos-api</artifactId>
|
|
|
|
<version>${nacos.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.nacos</groupId>
|
|
|
|
<artifactId>nacos-client</artifactId>
|
|
|
|
<version>${nacos.version}</version>
|
|
|
|
</dependency>
|
2020-04-15 16:58:04 +08:00
|
|
|
<!-- easyexcel -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>easyexcel</artifactId>
|
|
|
|
<version>2.1.7</version>
|
|
|
|
</dependency>
|
|
|
|
|
2020-06-22 14:01:44 +08:00
|
|
|
<dependency>
|
2020-06-28 20:43:43 +08:00
|
|
|
<groupId>com.fit2cloud</groupId>
|
|
|
|
<artifactId>quartz-spring-boot-starter</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-autoconfigure</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
<version>0.0.4</version>
|
2020-06-22 14:01:44 +08:00
|
|
|
</dependency>
|
|
|
|
|
2020-07-21 11:48:54 +08:00
|
|
|
<dependency>
|
2020-07-29 11:24:47 +08:00
|
|
|
<groupId>io.metersphere</groupId>
|
2020-07-21 11:48:54 +08:00
|
|
|
<artifactId>jmeter-plugins-dubbo</artifactId>
|
2020-08-05 16:57:54 +08:00
|
|
|
<version>2.7.9</version>
|
2020-07-21 11:48:54 +08:00
|
|
|
</dependency>
|
|
|
|
|
2020-06-22 14:13:34 +08:00
|
|
|
<!-- LDAP Module -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-ldap</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2020-07-15 15:35:36 +08:00
|
|
|
<!-- swagger 解析 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.swagger</groupId>
|
|
|
|
<artifactId>swagger-parser</artifactId>
|
|
|
|
<version>1.0.51</version>
|
|
|
|
</dependency>
|
|
|
|
|
2020-08-06 15:50:45 +08:00
|
|
|
<!-- 执行 js 代码依赖 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.graalvm.sdk</groupId>
|
|
|
|
<artifactId>graal-sdk</artifactId>
|
|
|
|
<version>${graalvm.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.graalvm.js</groupId>
|
|
|
|
<artifactId>js</artifactId>
|
|
|
|
<version>${graalvm.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.graalvm.js</groupId>
|
|
|
|
<artifactId>js-scriptengine</artifactId>
|
|
|
|
<version>${graalvm.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.graalvm.tools</groupId>
|
|
|
|
<artifactId>profiler</artifactId>
|
|
|
|
<version>${graalvm.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.graalvm.tools</groupId>
|
|
|
|
<artifactId>chromeinspector</artifactId>
|
|
|
|
<version>${graalvm.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2020-02-03 14:01:28 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/java</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.properties</include>
|
|
|
|
<include>**/*.xml</include>
|
|
|
|
</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>
|
2020-05-06 21:39:08 +08:00
|
|
|
<excludes>
|
|
|
|
<exclude>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
</exclude>
|
2020-05-07 10:37:03 +08:00
|
|
|
<exclude>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
</exclude>
|
2020-05-06 21:39:08 +08:00
|
|
|
</excludes>
|
2020-02-03 14:01:28 +08:00
|
|
|
</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>
|
2020-07-28 20:55:30 +08:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>src/main/resources/static</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**</include>
|
|
|
|
</includes>
|
|
|
|
<followSymlinks>false</followSymlinks>
|
|
|
|
</fileset>
|
|
|
|
<fileset>
|
|
|
|
<directory>src/main/resources/templates</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**</include>
|
|
|
|
</includes>
|
|
|
|
<followSymlinks>false</followSymlinks>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2020-02-03 14:01:28 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Overlay guacamole-common-js (zip) -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<version>2.6</version>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<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/templates">
|
|
|
|
<fileset dir="../frontend/dist">
|
|
|
|
<include name="*.html"/>
|
|
|
|
</fileset>
|
|
|
|
</move>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</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>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
2020-07-02 11:36:32 +08:00
|
|
|
<version>8.0.16</version>
|
2020-02-03 14:01:28 +08:00
|
|
|
</dependency>
|
2020-05-06 14:40:51 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.itfsw</groupId>
|
|
|
|
<artifactId>mybatis-generator-plugin</artifactId>
|
|
|
|
<version>1.3.8</version>
|
|
|
|
</dependency>
|
2020-02-03 14:01:28 +08:00
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
2020-08-06 14:58:11 +08:00
|
|
|
<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>
|
2020-02-03 14:01:28 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2020-07-22 19:43:15 +08:00
|
|
|
</project>
|