【发布时间】:2014-04-22 16:35:11
【问题描述】:
我尝试在 eclipse 中创建一个动态 web 项目并将这个项目转换为一个 maven 项目。我的项目有这个结构
src\main\java
src\main\resources
src\main\webapp
src\main\test
当我右键单击项目 > 配置 > 转换为 Maven 项目时,我收到以下错误消息:
Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'Gestion'.
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.3
Plugin org.apache.maven.plugins:maven-war-plugin:2.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.3
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.3
Plugin org.apache.maven.plugins:maven-war-plugin:2.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.3
【问题讨论】:
标签: java eclipse apache maven plugins