build: 统一js engine
This commit is contained in:
parent
2dc2c8a014
commit
099749a341
|
@ -19,7 +19,7 @@ ENV JAVA_CLASSPATH=/app:/app/lib/metersphere-jmeter-core.jar:/opt/jmeter/lib/ext
|
|||
ENV JAVA_MAIN_CLASS=io.metersphere.Application
|
||||
ENV AB_OFF=true
|
||||
ENV MS_VERSION=${MS_VERSION}
|
||||
ENV JAVA_OPTIONS="-Dfile.encoding=utf-8 -Djava.awt.headless=true -Dpolyglot.js.nashorn-compat=true -Dpolyglot.log.file=/opt/metersphere/logs/metersphere/info.log --add-opens java.base/jdk.internal.loader=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED -Dnashorn.args=--no-deprecation-warning"
|
||||
ENV JAVA_OPTIONS="-Dfile.encoding=utf-8 -Djava.awt.headless=true --add-opens java.base/jdk.internal.loader=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED"
|
||||
|
||||
|
||||
CMD ["/deployments/run-java.sh"]
|
||||
|
|
|
@ -295,17 +295,6 @@
|
|||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<!-- 执行 js 代码依赖 -->
|
||||
<dependency>
|
||||
<groupId>org.graalvm.js</groupId>
|
||||
<artifactId>js</artifactId>
|
||||
<version>${graalvmjs.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.graalvm.js</groupId>
|
||||
<artifactId>js-scriptengine</artifactId>
|
||||
<version>${graalvmjs.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jsoup</groupId>
|
||||
<artifactId>jsoup</artifactId>
|
||||
|
|
Loading…
Reference in New Issue