在构建maven项目时遇到此错误

时间:2015-08-21 13:36:16

标签: maven liferay liferay-6

我在eclipse中创建了一个maven项目,我在这方面遇到了错误。

Could not calculate build plan: Plugin com.liferay.maven.plugins:liferay-maven-plugin:6.2.3 or one of its dependencies could not be resolved: Failure to find com.liferay.maven.plugins:liferay-maven-plugin:jar:6.2.3 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
Plugin com.liferay.maven.plugins:liferay-maven-plugin:6.2.3 or one of its dependencies could not be resolved: Failure to find com.liferay.maven.plugins:liferay-maven-plugin:jar:6.2.3 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced

我现在该怎么办?

1 个答案:

答案 0 :(得分:3)

因为在maven存储库中缺少Liferay插件版本6.2.3。 http://repo1.maven.org/maven2/com/liferay/maven/plugins/