Question

I am using eclipse 4.3 with the maven plugin (m2e).

I added this dependency to my project's pom.xml:

<dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-core</artifactId>
    <version>4.2.5.Final</version>
</dependency>

I get the dependency from here: http://mvnrepository.com/artifact/org.hibernate/hibernate-core/4.2.5.Final

But the m2e-plugin says:

Missing artifact org.hibernate:hibernate-core:jar:4.2.5.Final

If I change the version to 4.2.3 everything works fine.

I have tried (multiple times) to update and rebuild the index of the central-maven-repository.

Any ideas? TIA!

Edit: My maven-repositories (in eclipse):

enter image description here

Was it helpful?

Solution

As mentioned by chrysilis in the comments the problem was an corrupt package in my local repository. After deleting that, everything works fine.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top