开发者

Unable to compile and create maven project for hibernate

开发者 https://www.devze.com 2023-01-04 02:56 出处:网络
I am trying to create a Eclipse project from Hibernate tutorials under path \\hibernate-distribution-3.5.3-Final\\project\\tutorials\\eg

I am trying to create a Eclipse project from Hibernate tutorials under path \hibernate-distribution-3.5.3-Final\project\tutorials\eg using 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 reposit开发者_Python百科ory

Can anyone faced this issue with the latest release of Hibernate?


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>
0

精彩评论

暂无评论...
验证码 换一张
取 消