MeterSphere/backend/pom.xml

634 lines
24 KiB
XML
Raw Normal View History

<?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>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>backend</artifactId>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<shiro.version>1.8.0</shiro.version>
<java.version>11</java.version>
2021-12-20 15:08:59 +08:00
<flyway.version>7.15.0</flyway.version>
<dubbo.version>2.7.15</dubbo.version>
2022-04-23 08:57:08 +08:00
<skipAntRunForJenkins>false</skipAntRunForJenkins>
</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>
<artifactId>spring-boot-starter-undertow</artifactId>
</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>
<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>
</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>
feat(UI测试): UI测试初版 (#11887) * feat: ui first commit * feat: mvp 指令解析引擎 * feat: UI 单元测试 * feat: ui路由 * feat(ui): selenium 部分指令翻译 * feat: 添加remoteDriver依赖 * feat: 首次提交sql,前后端接口 * fix: 接口调用恶意删除文件漏洞 * fix: 测试计划性能测试用例order字段初始化报错 * feat: UiScenario转换工具类 * feat: ui 列表页部分代码 * feat: 导入的部分代码 * fix: 打开百度demo * refactor: 修改字段名称 * refactor: 重构模块树后端 * feat: 编辑 ui 页面数据 * fix: 模块通用操作 * feat: 通用方法模块操作增加方法 * feat: 添加元素管理列表字段 * feat: 元素库相关 * feat: 创建ui自动化引用关系表 * fix: 模块树操作框 * fix: 解決一些控制台报错 * feat: 前端定义,精细化 locator 组件,动态组件通过 v-model 双向绑定 * feat: ui场景编辑页面左侧步骤编辑 * build: 统一字符集 * feat: ui场景报告复用接口场景报告 * refactor: argtype类 * feat: 指令结构解析,json-schema引入 * feat: UI场景debug接口 * feat: ui报告处理 * feat: 保存ui测试场景 * build: 修改ignore * refactor: 基本信息保存 * feat: ui场景编辑页元素库相关 * feat: vuex mutaions,添加普通指令 * feat: 其他参数组件,以及部分重构 * feat: ui场景执行生成报告 * fix: 截图名称,添加新指令类型 * refactor: 模块管理中增加UI开关 * fix:左侧步骤样式美化 * fix:解决 locator 报错。以及步骤数报错 * fix: commandConfig 前后置指令 * fix: 测试用例api * refactor(ui): 注入脚本全局配置参数以及单个脚本配置参数 * fix(ui): 测试用例修改 * feat: ui报告细节优化 * feat: ui报告细节 * fix: 接口报告列表展示了ui的报告 * fix: sync xpack Co-authored-by: zhangdahai112 <dahai.zhang@fit2cloud.com> Co-authored-by: junhong <junhong.zhou@fit2cloud.com> Co-authored-by: AnAngle <1323481023@qq.com> Co-authored-by: chenjianxing <jianxing.chen@fit2cloud.com> Co-authored-by: CaptainB <bin@fit2cloud.com>
2022-03-23 19:42:55 +08:00
<!-- 后续考虑移到jmeter core -->
<dependency>
2022-04-20 10:59:15 +08:00
<groupId>io.metersphere</groupId>
feat(UI测试): UI测试初版 (#11887) * feat: ui first commit * feat: mvp 指令解析引擎 * feat: UI 单元测试 * feat: ui路由 * feat(ui): selenium 部分指令翻译 * feat: 添加remoteDriver依赖 * feat: 首次提交sql,前后端接口 * fix: 接口调用恶意删除文件漏洞 * fix: 测试计划性能测试用例order字段初始化报错 * feat: UiScenario转换工具类 * feat: ui 列表页部分代码 * feat: 导入的部分代码 * fix: 打开百度demo * refactor: 修改字段名称 * refactor: 重构模块树后端 * feat: 编辑 ui 页面数据 * fix: 模块通用操作 * feat: 通用方法模块操作增加方法 * feat: 添加元素管理列表字段 * feat: 元素库相关 * feat: 创建ui自动化引用关系表 * fix: 模块树操作框 * fix: 解決一些控制台报错 * feat: 前端定义,精细化 locator 组件,动态组件通过 v-model 双向绑定 * feat: ui场景编辑页面左侧步骤编辑 * build: 统一字符集 * feat: ui场景报告复用接口场景报告 * refactor: argtype类 * feat: 指令结构解析,json-schema引入 * feat: UI场景debug接口 * feat: ui报告处理 * feat: 保存ui测试场景 * build: 修改ignore * refactor: 基本信息保存 * feat: ui场景编辑页元素库相关 * feat: vuex mutaions,添加普通指令 * feat: 其他参数组件,以及部分重构 * feat: ui场景执行生成报告 * fix: 截图名称,添加新指令类型 * refactor: 模块管理中增加UI开关 * fix:左侧步骤样式美化 * fix:解决 locator 报错。以及步骤数报错 * fix: commandConfig 前后置指令 * fix: 测试用例api * refactor(ui): 注入脚本全局配置参数以及单个脚本配置参数 * fix(ui): 测试用例修改 * feat: ui报告细节优化 * feat: ui报告细节 * fix: 接口报告列表展示了ui的报告 * fix: sync xpack Co-authored-by: zhangdahai112 <dahai.zhang@fit2cloud.com> Co-authored-by: junhong <junhong.zhou@fit2cloud.com> Co-authored-by: AnAngle <1323481023@qq.com> Co-authored-by: chenjianxing <jianxing.chen@fit2cloud.com> Co-authored-by: CaptainB <bin@fit2cloud.com>
2022-03-23 19:42:55 +08:00
<artifactId>jmeter-plugins-webdriver</artifactId>
2022-04-20 10:59:15 +08:00
<version>3.4</version>
feat(UI测试): UI测试初版 (#11887) * feat: ui first commit * feat: mvp 指令解析引擎 * feat: UI 单元测试 * feat: ui路由 * feat(ui): selenium 部分指令翻译 * feat: 添加remoteDriver依赖 * feat: 首次提交sql,前后端接口 * fix: 接口调用恶意删除文件漏洞 * fix: 测试计划性能测试用例order字段初始化报错 * feat: UiScenario转换工具类 * feat: ui 列表页部分代码 * feat: 导入的部分代码 * fix: 打开百度demo * refactor: 修改字段名称 * refactor: 重构模块树后端 * feat: 编辑 ui 页面数据 * fix: 模块通用操作 * feat: 通用方法模块操作增加方法 * feat: 添加元素管理列表字段 * feat: 元素库相关 * feat: 创建ui自动化引用关系表 * fix: 模块树操作框 * fix: 解決一些控制台报错 * feat: 前端定义,精细化 locator 组件,动态组件通过 v-model 双向绑定 * feat: ui场景编辑页面左侧步骤编辑 * build: 统一字符集 * feat: ui场景报告复用接口场景报告 * refactor: argtype类 * feat: 指令结构解析,json-schema引入 * feat: UI场景debug接口 * feat: ui报告处理 * feat: 保存ui测试场景 * build: 修改ignore * refactor: 基本信息保存 * feat: ui场景编辑页元素库相关 * feat: vuex mutaions,添加普通指令 * feat: 其他参数组件,以及部分重构 * feat: ui场景执行生成报告 * fix: 截图名称,添加新指令类型 * refactor: 模块管理中增加UI开关 * fix:左侧步骤样式美化 * fix:解决 locator 报错。以及步骤数报错 * fix: commandConfig 前后置指令 * fix: 测试用例api * refactor(ui): 注入脚本全局配置参数以及单个脚本配置参数 * fix(ui): 测试用例修改 * feat: ui报告细节优化 * feat: ui报告细节 * fix: 接口报告列表展示了ui的报告 * fix: sync xpack Co-authored-by: zhangdahai112 <dahai.zhang@fit2cloud.com> Co-authored-by: junhong <junhong.zhou@fit2cloud.com> Co-authored-by: AnAngle <1323481023@qq.com> Co-authored-by: chenjianxing <jianxing.chen@fit2cloud.com> Co-authored-by: CaptainB <bin@fit2cloud.com>
2022-03-23 19:42:55 +08:00
<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>
<exclusion>
<artifactId>mail</artifactId>
<groupId>javax.mail</groupId>
</exclusion>
<exclusion>
<artifactId>geronimo-spec-javamail</artifactId>
<groupId>geronimo-spec</groupId>
</exclusion>
feat(UI测试): UI测试初版 (#11887) * feat: ui first commit * feat: mvp 指令解析引擎 * feat: UI 单元测试 * feat: ui路由 * feat(ui): selenium 部分指令翻译 * feat: 添加remoteDriver依赖 * feat: 首次提交sql,前后端接口 * fix: 接口调用恶意删除文件漏洞 * fix: 测试计划性能测试用例order字段初始化报错 * feat: UiScenario转换工具类 * feat: ui 列表页部分代码 * feat: 导入的部分代码 * fix: 打开百度demo * refactor: 修改字段名称 * refactor: 重构模块树后端 * feat: 编辑 ui 页面数据 * fix: 模块通用操作 * feat: 通用方法模块操作增加方法 * feat: 添加元素管理列表字段 * feat: 元素库相关 * feat: 创建ui自动化引用关系表 * fix: 模块树操作框 * fix: 解決一些控制台报错 * feat: 前端定义,精细化 locator 组件,动态组件通过 v-model 双向绑定 * feat: ui场景编辑页面左侧步骤编辑 * build: 统一字符集 * feat: ui场景报告复用接口场景报告 * refactor: argtype类 * feat: 指令结构解析,json-schema引入 * feat: UI场景debug接口 * feat: ui报告处理 * feat: 保存ui测试场景 * build: 修改ignore * refactor: 基本信息保存 * feat: ui场景编辑页元素库相关 * feat: vuex mutaions,添加普通指令 * feat: 其他参数组件,以及部分重构 * feat: ui场景执行生成报告 * fix: 截图名称,添加新指令类型 * refactor: 模块管理中增加UI开关 * fix:左侧步骤样式美化 * fix:解决 locator 报错。以及步骤数报错 * fix: commandConfig 前后置指令 * fix: 测试用例api * refactor(ui): 注入脚本全局配置参数以及单个脚本配置参数 * fix(ui): 测试用例修改 * feat: ui报告细节优化 * feat: ui报告细节 * fix: 接口报告列表展示了ui的报告 * fix: sync xpack Co-authored-by: zhangdahai112 <dahai.zhang@fit2cloud.com> Co-authored-by: junhong <junhong.zhou@fit2cloud.com> Co-authored-by: AnAngle <1323481023@qq.com> Co-authored-by: chenjianxing <jianxing.chen@fit2cloud.com> Co-authored-by: CaptainB <bin@fit2cloud.com>
2022-03-23 19:42:55 +08:00
</exclusions>
</dependency>
<!-- 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>
</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>
<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>
<version>1.2.80</version>
</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>
</dependency>
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-rsocket -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-rsocket</artifactId>
</dependency>
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>ms-jmeter-core</artifactId>
<version>1.1.5</version>
<exclusions>
<exclusion>
<artifactId>netty</artifactId>
<groupId>io.netty</groupId>
</exclusion>
<exclusion>
<artifactId>mail</artifactId>
<groupId>javax.mail</groupId>
</exclusion>
</exclusions>
</dependency>
<!-- 手动引入,不然会有 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>
<!-- jdk11 环境下有 Illegal reflective access -->
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<version>5.1.0</version>
</dependency>
<!-- 排除jmeter中的 xstream 解决bug -->
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<version>1.4.19</version>
</dependency>
<!-- easyexcel -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
<version>2.2.10</version>
</dependency>
<dependency>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans</artifactId>
<version>3.0.0</version>
</dependency>
<dependency>
<groupId>com.fit2cloud</groupId>
<artifactId>quartz-spring-boot-starter</artifactId>
2021-12-20 15:08:59 +08:00
<version>0.0.9</version>
</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>
<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
<!-- 执行 js 代码依赖 -->
<dependency>
<groupId>org.mozilla</groupId>
<artifactId>rhino-engine</artifactId>
<version>1.7.13</version>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
2021-09-06 16:07:21 +08:00
<version>1.14.2</version>
</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>
</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>
<dependency>
<groupId>net.sourceforge.htmlcleaner</groupId>
<artifactId>htmlcleaner</artifactId>
<version>2.24</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</dependency>
2020-12-15 13:56:23 +08:00
<!-- 反射工具包 -->
<dependency>
2022-04-21 14:20:30 +08:00
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.10.2</version>
2020-12-15 13:56:23 +08:00
</dependency>
<!-- k8s client -->
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-client</artifactId>
<version>4.13.2</version>
</dependency>
<dependency>
<groupId>org.java-websocket</groupId>
<artifactId>Java-WebSocket</artifactId>
2021-08-10 11:33:23 +08:00
<version>1.5.0</version>
</dependency>
<!-- xmind export-->
<dependency>
<groupId>com.github.eljah</groupId>
<artifactId>xmindjbehaveplugin</artifactId>
<version>0.8</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>3.0.24</version>
</dependency>
<!-- selenium包 -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
</dependency>
2021-09-07 14:31:19 +08:00
<!-- 基础包 -->
<dependency>
<groupId>io.metersphere</groupId>
<artifactId>metersphere-plugin-core</artifactId>
<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>
</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>
<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>
</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>
feat(UI测试): UI测试初版 (#11887) * feat: ui first commit * feat: mvp 指令解析引擎 * feat: UI 单元测试 * feat: ui路由 * feat(ui): selenium 部分指令翻译 * feat: 添加remoteDriver依赖 * feat: 首次提交sql,前后端接口 * fix: 接口调用恶意删除文件漏洞 * fix: 测试计划性能测试用例order字段初始化报错 * feat: UiScenario转换工具类 * feat: ui 列表页部分代码 * feat: 导入的部分代码 * fix: 打开百度demo * refactor: 修改字段名称 * refactor: 重构模块树后端 * feat: 编辑 ui 页面数据 * fix: 模块通用操作 * feat: 通用方法模块操作增加方法 * feat: 添加元素管理列表字段 * feat: 元素库相关 * feat: 创建ui自动化引用关系表 * fix: 模块树操作框 * fix: 解決一些控制台报错 * feat: 前端定义,精细化 locator 组件,动态组件通过 v-model 双向绑定 * feat: ui场景编辑页面左侧步骤编辑 * build: 统一字符集 * feat: ui场景报告复用接口场景报告 * refactor: argtype类 * feat: 指令结构解析,json-schema引入 * feat: UI场景debug接口 * feat: ui报告处理 * feat: 保存ui测试场景 * build: 修改ignore * refactor: 基本信息保存 * feat: ui场景编辑页元素库相关 * feat: vuex mutaions,添加普通指令 * feat: 其他参数组件,以及部分重构 * feat: ui场景执行生成报告 * fix: 截图名称,添加新指令类型 * refactor: 模块管理中增加UI开关 * fix:左侧步骤样式美化 * fix:解决 locator 报错。以及步骤数报错 * fix: commandConfig 前后置指令 * fix: 测试用例api * refactor(ui): 注入脚本全局配置参数以及单个脚本配置参数 * fix(ui): 测试用例修改 * feat: ui报告细节优化 * feat: ui报告细节 * fix: 接口报告列表展示了ui的报告 * fix: sync xpack Co-authored-by: zhangdahai112 <dahai.zhang@fit2cloud.com> Co-authored-by: junhong <junhong.zhou@fit2cloud.com> Co-authored-by: AnAngle <1323481023@qq.com> Co-authored-by: chenjianxing <jianxing.chen@fit2cloud.com> Co-authored-by: CaptainB <bin@fit2cloud.com>
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>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
feat(UI测试): UI测试初版 (#11887) * feat: ui first commit * feat: mvp 指令解析引擎 * feat: UI 单元测试 * feat: ui路由 * feat(ui): selenium 部分指令翻译 * feat: 添加remoteDriver依赖 * feat: 首次提交sql,前后端接口 * fix: 接口调用恶意删除文件漏洞 * fix: 测试计划性能测试用例order字段初始化报错 * feat: UiScenario转换工具类 * feat: ui 列表页部分代码 * feat: 导入的部分代码 * fix: 打开百度demo * refactor: 修改字段名称 * refactor: 重构模块树后端 * feat: 编辑 ui 页面数据 * fix: 模块通用操作 * feat: 通用方法模块操作增加方法 * feat: 添加元素管理列表字段 * feat: 元素库相关 * feat: 创建ui自动化引用关系表 * fix: 模块树操作框 * fix: 解決一些控制台报错 * feat: 前端定义,精细化 locator 组件,动态组件通过 v-model 双向绑定 * feat: ui场景编辑页面左侧步骤编辑 * build: 统一字符集 * feat: ui场景报告复用接口场景报告 * refactor: argtype类 * feat: 指令结构解析,json-schema引入 * feat: UI场景debug接口 * feat: ui报告处理 * feat: 保存ui测试场景 * build: 修改ignore * refactor: 基本信息保存 * feat: ui场景编辑页元素库相关 * feat: vuex mutaions,添加普通指令 * feat: 其他参数组件,以及部分重构 * feat: ui场景执行生成报告 * fix: 截图名称,添加新指令类型 * refactor: 模块管理中增加UI开关 * fix:左侧步骤样式美化 * fix:解决 locator 报错。以及步骤数报错 * fix: commandConfig 前后置指令 * fix: 测试用例api * refactor(ui): 注入脚本全局配置参数以及单个脚本配置参数 * fix(ui): 测试用例修改 * feat: ui报告细节优化 * feat: ui报告细节 * fix: 接口报告列表展示了ui的报告 * fix: sync xpack Co-authored-by: zhangdahai112 <dahai.zhang@fit2cloud.com> Co-authored-by: junhong <junhong.zhou@fit2cloud.com> Co-authored-by: AnAngle <1323481023@qq.com> Co-authored-by: chenjianxing <jianxing.chen@fit2cloud.com> Co-authored-by: CaptainB <bin@fit2cloud.com>
2022-03-23 19:42:55 +08:00
<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>
<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>
<directory>src/main/resources/public</directory>
<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>
</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-04-23 08:57:08 +08:00
<!-- 本地开发需要ci打包时不执行这个插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>main-class-placement</id>
<phase>generate-resources</phase>
<configuration>
<skip>${skipAntRunForJenkins}</skip>
<target>
<copy todir="src/main/resources/static">
<fileset dir="../frontend/dist">
<exclude name="*.html"/>
</fileset>
</copy>
<copy todir="src/main/resources/public">
<fileset dir="../frontend/dist">
<include name="*.html"/>
</fileset>
</copy>
<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>
<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>
<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>
<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>
<artifactItem>
<groupId>org.python</groupId>
<artifactId>jython-standalone</artifactId>
<version>2.7.2</version>
<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>