【发布时间】:2016-04-24 11:57:15
【问题描述】:
从这个目录中拉取它并执行一个 Maven 构建 git clone 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 位于“mule-cookbook-parent”下
没有其他 POM 指向 jdk 范围,除了这个标记为“归档”的 POM
真的不知道从这里去哪里。请帮忙。
PC
【问题讨论】:
标签: maven-plugin cookbook