骡子食谱任意点连接器 - 构建失败



此目录中提取此目录并执行 maven 构建git 克隆 https://github.com/mulesoft/mule-cookbook.git

以下是在倒数第二步时收到的错误

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce (default-enforce) on project cookbook-connector: org.apache.maven.plugins.enforcer.RequireJavaVersion failed with message:
[ERROR] Detected JDK Version: 1.8.0-77 is not in the allowed range [1.7,1.8).

我试图将 POM.xml 更改为 [1.7, 1.9)这样的POM位于"骡子-食谱-父母"下

除了标记为"存档"的此 POM 之外,没有其他 POM 指向 jdk 范围

真的不知道该何去何从。请帮忙。

个人电脑

mule-cookbook有一个子模块 cookbook-connector ,它使用 DevKit 3.7.2。这里的问题是 DevKit 3.7.x 与 JDK 1.8 不兼容,但 DevKit 3.8.x 兼容

因此,要么使用 Java 1.7 编译 mule-cookbook,要么修改 cookbook-connector 项目的 POM 以使用最新的 DevKit:

<parent>
    <groupId>org.mule.tools.devkit</groupId>
    <artifactId>mule-devkit-parent</artifactId>
    <version>3.8.2</version>
</parent>

最新更新