我想在eclipse中使用liferay-maven-plugin创建一个liferay插件portlet,但每次我尝试这样做时都会出现这个错误:
Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'sample-portlet'.
Could not calculate build plan: Plugin com.liferay.maven.plugins:liferay-maven-plugin:6.2.1 or one of its dependencies could not be resolved: Failure to find com.liferay.maven.plugins:liferay-maven-plugin:jar:6.2.1 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.1 or one of its dependencies could not be resolved: Failure to find com.liferay.maven.plugins:liferay-maven-plugin:jar:6.2.1 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
Could not calculate build plan: Plugin com.liferay.maven.plugins:liferay-maven-plugin:6.2.1 or one of its dependencies could not be resolved: Failure to find com.liferay.maven.plugins:liferay-maven-plugin:jar:6.2.1 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.1 or one of its dependencies could not be resolved: Failure to find com.liferay.maven.plugins:liferay-maven-plugin:jar:6.2.1 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