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>
|
|
|
|
<version>1.0</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-03-16 15:04:17 +08:00
|
|
|
<kubernetes-client.version>4.9.0</kubernetes-client.version>
|
2020-02-03 14:01:28 +08:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
2020-03-16 15:04:17 +08:00
|
|
|
<!-- kubernetes client-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.fabric8</groupId>
|
|
|
|
<artifactId>kubernetes-client</artifactId>
|
|
|
|
<version>${kubernetes-client.version}</version>
|
|
|
|
</dependency>
|
2020-02-03 14:01:28 +08:00
|
|
|
<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>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>hibernate-validator</artifactId>
|
|
|
|
<groupId>org.hibernate.validator</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<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-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>
|
|
|
|
<version>1.12</version>
|
|
|
|
</dependency>
|
2020-02-03 14:01:28 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
<version>1.2.45</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2020-02-18 21:25:51 +08:00
|
|
|
<!-- jmeter -->
|
|
|
|
<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-03-03 15:36:11 +08:00
|
|
|
<!-- https://mvnrepository.com/artifact/kg.apc/jmeter-plugins-tst -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>kg.apc</groupId>
|
|
|
|
<artifactId>jmeter-plugins-tst</artifactId>
|
|
|
|
<version>2.5</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/kg.apc/jmeter-plugins-casutg -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>kg.apc</groupId>
|
|
|
|
<artifactId>jmeter-plugins-casutg</artifactId>
|
|
|
|
<version>2.9</version>
|
|
|
|
</dependency>
|
2020-03-20 17:14:49 +08:00
|
|
|
<!-- jmeter graph -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>kg.apc</groupId>
|
|
|
|
<artifactId>jmeter-plugins-cmd</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>kg.apc</groupId>
|
|
|
|
<artifactId>jmeter-plugins-synthesis</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/kg.apc/jmeter-plugins-standard -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>kg.apc</groupId>
|
|
|
|
<artifactId>jmeter-plugins-standard</artifactId>
|
|
|
|
<version>1.4.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
2020-02-18 21:25:51 +08:00
|
|
|
|
2020-03-18 18:36:42 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
<version>4.5.3</version>
|
|
|
|
</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>
|
|
|
|
</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-03-02 18:41:47 +08:00
|
|
|
|
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>
|
|
|
|
<version>5.1.41</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|