检测到的Maven版本:3.0.5不在允许的范围内3.2 [英] Detected Maven Version: 3.0.5 is not in the allowed range 3.2

查看:686
本文介绍了检测到的Maven版本:3.0.5不在允许的范围内3.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Maven,在编译和构建项目时遇到错误.它是用于评估某些pmml文件的jpmml-project.现在我得到了这个错误:

I am working with Maven and I am getting errors with compiling and building my project. It is the jpmml-project to evaluate some pmml file. Now I got this error:

规则0:org.apache.maven.plugins.enforcer.RequireMavenVersion失败,并显示以下消息:检测到的Maven版本:3.0.5不在允许范围3.2之内.

Rule 0: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message: Detected Maven Version: 3.0.5 is not in the allowed range 3.2.

检查链接以查看图像: https://www.dropbox.com/s/3r9d8g8l4r1zctp/maven_error.png?dl=0

Check the link to see the image: https://www.dropbox.com/s/3r9d8g8l4r1zctp/maven_error.png?dl=0

请帮助!我对Java和Maven没有太多经验.

Please help! I do not have too much experience with Java and Maven.

推荐答案

您的pom.xml包含一个名为的插件可执行程序,可以定义所需的Maven版本.您需要安装提到的Maven版本(3.2.*)并使用它来编译项目.

Your pom.xml contains a plugin called enforcer, that can define a required maven version. You need to install the mentioned maven version (3.2.*) and use it to compile the project.

这篇关于检测到的Maven版本:3.0.5不在允许的范围内3.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆