简体   繁体   English

无法执行Maven-Enforcer-Plug

[英]Failed to execute maven-enforcer-plugin

I am trying to install UIMA JDK with maven. 我正在尝试使用Maven安装UIMA JDK。 However, there's always a waring 但是,总会有警告


Rule 0: org.semver.enforcer.RequireBackwardCompatibility failed with message:
Current codebase is not backward compatible (BACKWARD_COMPATIBLE_IMPLEMENTER) with version <2.7.0>. Compatibility type has been detected as <BACKWARD_COMPATIBLE_USER>

and then error: 然后错误:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce (enforce-compatibility) on project uimaj-core: Some Enforcer rules have failed. [错误]无法在项目uimaj-core上执行目标org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce(强制兼容):某些Enforcer规则失败。 Look above for specific messages explaining why the rule failed. 在上方查看特定的消息,以解释规则失败的原因。

Please help me fix this issue 请帮助我解决此问题

We are considering to switch to semantic versioning. 我们正在考虑切换到语义版本控制。 I changed the configuration in UIMA trunk yesterday to check if according to semantic versioning the next version should be 2.7.1 or 2.8.0. 我昨天更改了UIMA主干中的配置,以根据语义版本检查下一个版本是否应为2.7.1或2.8.0。

You can change the compatibility check back - or - you should just use the last stable release 2.7.0 from Maven Central instead of building yourself. 您可以改回兼容性检查-或-您应该只使用Maven Central的最新稳定版本2.7.0,而不是自己构建。

To change it back, open uimaj-parent/pom.xml and set: 要改回它,请打开uimaj-parent/pom.xml并设置:

<compat.level>BACKWARD_COMPATIBLE_USER</compat.level>

Disclosure: It was me that broke the build ;) 披露:是我破坏了构建;)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法执行目标 org.apache.maven.plugins:maven-enforcer-plugin - Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin Maven 插件问题:maven-enforcer-plugin:3.0.0-M3:enforce 有些 Enforcer 规则失败 - Problem with Maven plugin :maven-enforcer-plugin:3.0.0-M3:enforce Some Enforcer rules have failed 无法执行 org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce: org/codehaus/plexus/util/StringUtils - Fail to execute org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce: org/codehaus/plexus/util/StringUtils 版本:display-plugin-updates不了解maven-enforcer-plugin - versions:display-plugin-updates does not understand maven-enforcer-plugin 在Eclipse中创建org.jenkins-ci.plugins时出现maven-enforcer-plugin问题 - maven-enforcer-plugin issue while creating org.jenkins-ci.plugins in eclipse 了解如何在某些pom文件中使用maven-enforcer-plugin - Find out how maven-enforcer-plugin is used in certain pom files Enforcer规则使用Maven插件失败 - Enforcer rules are getting failed using maven plugin 当maven 3.2.5在travis-ci.org上与3.1.1一起运行时,为什么会检测到maven 3.2.5? - Why does maven-enforcer-plugin detect maven 3.2.5 when it's run with 3.1.1 on travis-ci.org? Maven强制实施器插件和缺少的依赖项 - Maven enforcer plugin and missing dependencies 如何使用 Maven Enforcer 插件? - How to use of the Maven Enforcer plugin?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM