首页 > 解决方案 > Maven 无法下载 maven-psteclipse-plugin:jar:1.0.3

问题描述

我有一个 Eclipse rcp 插件,正在为其设置 Maven 构建

看完这篇文章就完成了所有的配置——https: //www.eclipse.org/articles/Article-Eclipse-and-Maven2/index.html

现在,当我尝试使用命令“mvn install -U”为插件创建 jar 文件时,出现以下错误

[INFO] Scanning for projects...                                                                                    
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-psteclipse-plugin/1.0.3/maven-psteclipse-plugin-1.0.3.pom                                                                               
[WARNING] The POM for org.apache.maven.plugins:maven-psteclipse-plugin:jar:1.0.3 is missing, no dependency information available
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-psteclipse-plugin/1.0.3/maven-psteclipse-plugin-1.0.3.jar                                                                               
[ERROR] 
[ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @ line 64, column 12                                                                                                           
[ERROR] Unresolveable build extension: Plugin org.apache.maven.plugins:maven-psteclipse-plugin:1.0.3 or one of its dependencies could not be resolved: Could not find artifact org.apache.maven.plugins:maven-psteclipse-plugin:jar:1.0.3 in central (https://repo.maven.apache.org/maven2) @
 @                                                                                                                 
[ERROR] The build could not read 1 project -> [Help 1]                                                             
[ERROR]
[ERROR]   The project com.my.plugin:1.0.0 (C:\temp_ws\com.my.plugin\pom.xml) has 1 error
[ERROR]     Unresolveable build extension: Plugin org.apache.maven.plugins:maven-psteclipse-plugin:1.0.3 or one of its dependencies could not be resolved: Could not find artifact org.apache.maven.plugins:maven-psteclipse-plugin:jar:1.0.3 in central (https://repo.maven.apache.org/maven2) -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException

谁能让我知道我可以在哪个存储库中找到“maven-psteclipse-plugin”工件并帮助解决这个问题

标签: javaeclipsemavenm2eclipse

解决方案


推荐阅读