问题描述
我正在尝试使用命令行从路径
\hibernate-distribution-3.5.3-Final\project\tutorials\eg
下的Hibernate教程创建一个Eclipse项目 mvn eclipse:eclipse 。但我得到这个错误
I am trying to create a Eclipse project from Hibernate tutorials under path\hibernate-distribution-3.5.3-Final\project\tutorials\egusing command line mvn eclipse:eclipse. But i am getting this error
Reason: POM 'org.jboss.maven.plugins:maven-jdocbook-style-plugin' not found in repository: Unable to download the artifact from any repository
任何人都可以使用最新版本发布Hibernate?
Can anyone faced this issue with the latest release of Hibernate?
推荐答案
我不知道你需要什么版本的插件,但,而以前的仓库(提到)将无限期地保持在线状态,现在终极版本的东西被推送到他们的Nexus回购。所以我怀疑你需要在下面的声明:
I don't know what version of the plugin you need but JBoss has moved recently to Nexus and, while the previous repositories (mentioned here) will stay online indefinitely, ultimate versions of stuff is pushed to their Nexus repo now. So I suspect that you need the following declaration somewhere:
<repositories>
<repository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Repository Group</name>
<url>http://repository.jboss.org/nexus/content/groups/public</url>
</repository>
...
</repositories>
这篇关于无法编译和创建休眠的Maven项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!