build: 统一js engine

This commit is contained in:
CaptainB 2023-06-08 15:03:18 +08:00 committed by 刘瑞斌
parent 4610d0919e
commit b799b3ceec
2 changed files with 8 additions and 10 deletions

View File

@ -43,12 +43,6 @@
<groupId>io.metersphere</groupId> <groupId>io.metersphere</groupId>
<artifactId>metersphere-jmeter-functions</artifactId> <artifactId>metersphere-jmeter-functions</artifactId>
<version>${metersphere-jmeter-functions.version}</version> <version>${metersphere-jmeter-functions.version}</version>
<exclusions>
<exclusion>
<artifactId>rhino-engine</artifactId>
<groupId>org.mozilla</groupId>
</exclusion>
</exclusions>
</dependency> </dependency>
<!-- 基础包 --> <!-- 基础包 -->
<dependency> <dependency>
@ -303,9 +297,14 @@
<!-- 执行 js 代码依赖 --> <!-- 执行 js 代码依赖 -->
<dependency> <dependency>
<groupId>org.mozilla</groupId> <groupId>org.graalvm.js</groupId>
<artifactId>rhino-engine</artifactId> <artifactId>js</artifactId>
<version>${rhino.version}</version> <version>${graalvmjs.version}</version>
</dependency>
<dependency>
<groupId>org.graalvm.js</groupId>
<artifactId>js-scriptengine</artifactId>
<version>${graalvmjs.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.jsoup</groupId> <groupId>org.jsoup</groupId>

View File

@ -43,7 +43,6 @@
<swagger-parser.version>2.1.12</swagger-parser.version> <swagger-parser.version>2.1.12</swagger-parser.version>
<swagger.version>2.2.8</swagger.version> <swagger.version>2.2.8</swagger.version>
<springdoc-openapi-ui.version>2.1.0</springdoc-openapi-ui.version> <springdoc-openapi-ui.version>2.1.0</springdoc-openapi-ui.version>
<rhino.version>1.7.14</rhino.version>
<jsoup.version>1.15.3</jsoup.version> <jsoup.version>1.15.3</jsoup.version>
<commonmark.version>0.19.0</commonmark.version> <commonmark.version>0.19.0</commonmark.version>
<commons-compress.version>1.21</commons-compress.version> <commons-compress.version>1.21</commons-compress.version>