eclipse 导入 hibernate自带的project出现问题
本帖最后由 wyxz126 于 2012-11-09 23:19:34 编辑
Project build error: Unresolveable build extension: Plugin org.jboss.maven.plugins:maven-jdocbook-style-plugin:2.0.0 or one of its dependencies could not be resolved: Could not find artifact org.jboss.maven.plugins:maven-jdocbook-style-plugin:jar:2.0.0 in central (http://repo1.maven.org/maven2)
maven-jdocbook-style-plugin:jar:2.0.0 这个插件根本就下不到,现在没法运行,总是出现这个错误。。
自带项目里有个readme文件
上面有
Common Java-module tasks
------------------------
using -DdisableDistribution=true to avoid documentation building
_documentation building (actually translation) needs *kde sdk* and does not working on windows_
好像是加上-DdisableDistribution=true 吧?但是要加在哪里呢?我是很晕了。。。
我用的是hibernate 3.6.10final这个版本
[ERROR] The project org.hibernate:hibernate-testsuite:3.6.10.Final (F:\hibernate-distribution-3.6.10.Final-dist\hibernate-distribution-3.6.10.Final\project\hibernate-testsuite\pom.xml) has 1 error
[ERROR] Unresolveable build extension: Plugin org.jboss.maven.plugins:maven-jdocbook-style-plugin:2.0.0 or one of its dependencies could not be resolved: Failure to find org.jboss.maven.plugins:maven-jdocbook-style-plugin:jar:2.0.0 in http://repo1.maven.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 -> [Help 2]
org.apache.maven.plugin.PluginResolutionException: Plugin org.jboss.maven.plugins:maven-jdocbook-style-plugin:2.0.0 or one of its dependencies could not be resolved: Failure to find org.jboss.maven.plugins:maven-jdocbook-style-plugin:jar:2.0.0 in http://repo1.maven.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
at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:199)
at org.apache.maven.project.DefaultProjectBuildingHelper.resolveExtensionArtifacts(DefaultProjectBuildingHelper.java:377)
at org.apache.maven.project.DefaultProjectBuildingHelper.createProjectRealm(DefaultProjectBuildingHelper.java:237)
at org.apache.maven.project.DefaultModelBuildingListener.buildExtensionsAssembled(DefaultModelBuildingListener.java:106)
at org.apache.maven.model.building.ModelBuildingEventCatapult$1.fire(ModelBuildingEventCatapult.java:43)
at org.apache.maven.model.building.DefaultModelBuilder.fireEvent(DefaultModelBuilder.java:1041)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:391)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:374)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:482)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:314)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:632)
at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:581)