Hello!
I am a newbie with Maven2 and I write a pom.xml. Now I want to get Hibernate and javax.persistence to resolve this:
import javax.persistence.Entity;
...
import org.hibernate.annotations.Fetch;
...
What needed to be done? I wrote in my pom.xml:
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate</artifactId>
<version>3.5.6-Final</version>
</dependency>
But I get an error (I already get some other dependencies, but Hibernate does not work):
11.10.10 13:19:53 MESZ: Refreshing [/testProject/pom.xml]
11.10.10 13:19:54 MESZ: Missing artifact org.hibernate:hibernate:jar:3.5.6-Final:compile
11.10.10 13:19:54 MESZ: Maven Builder: AUTO_BUILD
11.10.10 13:19:55 MESZ: Maven Builder: AUTO_BUILD
So, what's wrong here? Why it does not know the artifact?
Thank you in advance & Best Regards.