我有以下問題與eclipse,我正在運行mvn安裝, 試圖建立我的項目。不正確的settings.xml到Maven發佈插件
不知道這個錯誤
做,請幫助
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building superman 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-hpi-plugin:1.95:validate (default-validate) @ superman ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-maven) @ superman ---
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message:
Build with Maven 3.0.4 or later. Maven 3.0 through 3.0.3 inclusive do not pass correct settings.xml to Maven Release Plugin.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.032s
[INFO] Finished at: Thu Dec 04 11:24:21 CST 2014
[INFO] Final Memory: 22M/355M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.0.1:enforce (enforce-maven) on project superman: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
我使用日食,但我有我的工作站下載Maven 3.2.3,我怎麼去解決這個問題。在eclipse – adam 2014-12-04 21:47:17
我已經在eclipse中安裝maven插件,我有最新的maven 3.2.3,我已經設置了我的環境變量, – adam 2014-12-05 17:01:07
我已經在eclipse中安裝maven插件,我有最新的maven 3.2.3,我已經設置了那對我的環境變量, 我仍然得到相同的錯誤...是否有一個在Eclipse中的設置,我需要改變,所以它與Maven 3.0.4或更高版本? 請讓我知道 – adam 2014-12-05 17:02:35