Failed to compile and create maven project for hibernation

I am trying to create an Eclipse project from Hibernate tutorials along the path \ Hibernation-distribution-3.5.3-Final \ Project \ Tutorials \ for example, using the mvn eclipse: eclipse command line. But I get this error

Reason: POM 'org.jboss.maven.plugins:maven-jdocbook-style-plugin' not found in repository: Unable to download the artifact from any repository 

Can anyone run into this problem with the latest version of Hibernate?

+2
java maven-2 orm hibernate
source share
1 answer

I don’t know which version of the plugin you need, but JBoss has recently moved to Nexus , and the previous repositories (mentioned here ) will remain online forever, the final versions of the materials will now be transferred to their Nexus repo. Therefore, I suspect you need the following declaration:

 <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> 
+3
source share

All Articles