mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-06-10 03:07:32 +08:00
fix(build): use JDK-activated profile for react-agent modules
Move liteflow-react-agent from compile/release profiles to a dedicated react-agent profile that auto-activates on JDK 21+. This keeps the project buildable under Java 8 — react-agent is only included when the JDK supports it. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
13
pom.xml
13
pom.xml
@@ -440,7 +440,6 @@
|
||||
<module>liteflow-testcase-el</module>
|
||||
<module>liteflow-el-builder</module>
|
||||
<module>liteflow-benchmark</module>
|
||||
<module>liteflow-react-agent</module>
|
||||
</modules>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
@@ -457,7 +456,6 @@
|
||||
<module>liteflow-spring</module>
|
||||
<module>liteflow-solon-plugin</module>
|
||||
<module>liteflow-el-builder</module>
|
||||
<module>liteflow-react-agent</module>
|
||||
</modules>
|
||||
|
||||
<build>
|
||||
@@ -516,6 +514,17 @@
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
<!-- ReAct Agent 模块:需要 Java 21+(agentscope-java 要求),JDK 版本满足时自动激活 -->
|
||||
<profile>
|
||||
<id>react-agent</id>
|
||||
<activation>
|
||||
<jdk>[21,)</jdk>
|
||||
</activation>
|
||||
<modules>
|
||||
<module>liteflow-react-agent</module>
|
||||
</modules>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user