java - 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”工件并帮助解决这个问题
解决方案
推荐阅读
- tomcat - Tomcat - OpenLDAP 身份验证
- javascript - 如何在调用 API 的函数中返回 Promis
- sql-server - 用重复更新表
- webpack - 在样式标签内使用 Webpack 别名
- python - 如何根据列表中设置的顺序通过键中包含的子字符串对 Python 字典进行排序?
- python-3.x - 在 Pandas 的列中获取全年数据
- javascript - [Class].prototype 可以更改,尽管 Object.freeze([Class])
- python - 变量赋值不起作用。标准输出到 var
- r - 如何修复错误:此版本的 R 无法使用包“tzdb”
- react-native - 二维码扫描仪反应原生博览会全屏