Tuesday 15 April 2014

java - Unable to add maven dependency -



java - Unable to add maven dependency -

when right click on project maven add together dependencies. showing error. artifact id cannot empty. had rebuild index. don't know set in artifact id , grouping id. want add together hibernate libraries.

put in pom.xml in section dependencies:

<dependency> <groupid>org.hibernate</groupid> <artifactid>hibernate-core</artifactid> <version>4.3.6.final</version> </dependency>

from maven documentation:

the minimum requirement pom following:

project root modelversion - should set 4.0.0 groupid - id of project's group. artifactid - id of artifact (project) version - version of artifact under specified group

java hibernate maven java-ee pom.xml

No comments:

Post a Comment