Searching repository for plugin with prefix: 'eclipse'.
org.apache.maven.plugins: checking for updates from central
NG] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error transferring file: Connection timed out: connect
Repository 'central' will be blacklisted
------------------------------------------------------------------------
] BUILD ERROR
------------------------------------------------------------------------
The plugin 'org.apache.maven.plugins:maven-eclipse-plugin' does not exist or no valid version could be found
------------------------------------------------------------------------
For more information, run Maven with the -e switch
------------------------------------------------------------------------
Total time: 22 seconds
Finished at: Fri Aug 26 17:42:01 IST 2011
Final Memory: 3M/15M发布于 2011-08-26 20:25:40
此问题可能是由于可能的临时网络问题造成的。在此期间,如果您计划将Maven和Eclipse一起使用,请不要使用maven-eclipse-plugin,而应使用m2e/m2eclipse Eclipse插件。哪个版本取决于您使用的是哪个版本的Eclipse;m2e是正在积极开发的版本,但只适用于3.7 (Indigo),m2eclipse是旧版本,适用于3.6 (Helios)。
发布于 2013-10-22 04:44:25
这可能有几个原因:
如果插件确实存在于Maven存储库中,那么
-U switch的所有文件
https://stackoverflow.com/questions/7204511
复制相似问题