Files
everywhere.z ad6a40c0e9 build(graaljs): 通过 profile 适配 JDK 17+ 的 GraalJS 25.x
将 GraalJS 坐标提取为可覆盖属性,新增 graaljs-jdk17-plus profile,在 JDK 17+ 下自动切换到 org.graalvm.polyglot 25.0.2,兼容旧 JDK 仍使用 org.graalvm.js 22.0.0。
2026-04-30 14:27:58 +08:00

36 lines
1.3 KiB
XML

<?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>liteflow-script-plugin</artifactId>
<groupId>com.yomahub</groupId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>liteflow-script-graaljs</artifactId>
<name>${project.artifactId}</name>
<dependencies>
<dependency>
<groupId>com.yomahub</groupId>
<artifactId>liteflow-core</artifactId>
<version>${revision}</version>
<optional>true</optional>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>${graaljs.polyglot.groupId}</groupId>
<artifactId>${graaljs.polyglot.artifactId}</artifactId>
<type>${graaljs.polyglot.type}</type>
</dependency>
<dependency>
<groupId>${graaljs.groupId}</groupId>
<artifactId>${graaljs.artifactId}</artifactId>
<type>${graaljs.type}</type>
</dependency>
</dependencies>
</project>