title: Maven Dependencies in SpringSource Tool Suite
body: <p>This is my first time using Maven and for some reason on my machine I am unable to get two of the hibernate dependencies that I need. My Pom.xml file is below:</p>
  
  <pre><code>            &lt;?xml version="1.0" encoding="UTF-8"?&gt;
              &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
                  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
                  &lt;groupId&gt;com.aramburu&lt;/groupId&gt;
                  &lt;artifactId&gt;depcheck&lt;/artifactId&gt;
                  &lt;name&gt;depcheck&lt;/name&gt;
                  &lt;packaging&gt;war&lt;/packaging&gt;
                  &lt;version&gt;1.0.0-BUILD-SNAPSHOT&lt;/version&gt;
  
                  &lt;properties&gt;
                      &lt;java-version&gt;1.6&lt;/java-version&gt;
                      &lt;org.springframework-version&gt;3.1.0.RELEASE&lt;/org.springframework-version&gt;
                      &lt;org.aspectj-version&gt;1.6.9&lt;/org.aspectj-version&gt;
                      &lt;org.slf4j-version&gt;1.5.10&lt;/org.slf4j-version&gt;
                  &lt;/properties&gt;
                  &lt;dependencies&gt;
                      &lt;!-- Spring --&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                          &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
                          &lt;version&gt;${org.springframework-version}&lt;/version&gt;
                          &lt;exclusions&gt;
                              &lt;!-- Exclude Commons Logging in favor of SLF4j --&gt;
                              &lt;exclusion&gt;
                                  &lt;groupId&gt;commons-logging&lt;/groupId&gt;
                                  &lt;artifactId&gt;commons-logging&lt;/artifactId&gt;
                               &lt;/exclusion&gt;
                          &lt;/exclusions&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                          &lt;artifactId&gt;spring-webmvc&lt;/artifactId&gt;
                          &lt;version&gt;${org.springframework-version}&lt;/version&gt;
                      &lt;/dependency&gt;
  
                      &lt;!-- AspectJ --&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.aspectj&lt;/groupId&gt;
                          &lt;artifactId&gt;aspectjrt&lt;/artifactId&gt;
                          &lt;version&gt;${org.aspectj-version}&lt;/version&gt;
                      &lt;/dependency&gt;   
  
                      &lt;!-- Logging --&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
                          &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
                          &lt;version&gt;${org.slf4j-version}&lt;/version&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
                          &lt;artifactId&gt;jcl-over-slf4j&lt;/artifactId&gt;
                          &lt;version&gt;${org.slf4j-version}&lt;/version&gt;
                          &lt;scope&gt;runtime&lt;/scope&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
                          &lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;
                          &lt;version&gt;${org.slf4j-version}&lt;/version&gt;
                          &lt;scope&gt;runtime&lt;/scope&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;log4j&lt;/groupId&gt;
                          &lt;artifactId&gt;log4j&lt;/artifactId&gt;
                          &lt;version&gt;1.2.15&lt;/version&gt;
                          &lt;exclusions&gt;
                              &lt;exclusion&gt;
                                  &lt;groupId&gt;javax.mail&lt;/groupId&gt;
                                  &lt;artifactId&gt;mail&lt;/artifactId&gt;
                              &lt;/exclusion&gt;
                              &lt;exclusion&gt;
                                  &lt;groupId&gt;javax.jms&lt;/groupId&gt;
                                  &lt;artifactId&gt;jms&lt;/artifactId&gt;
                              &lt;/exclusion&gt;
                              &lt;exclusion&gt;
                                  &lt;groupId&gt;com.sun.jdmk&lt;/groupId&gt;
                                  &lt;artifactId&gt;jmxtools&lt;/artifactId&gt;
                              &lt;/exclusion&gt;
                              &lt;exclusion&gt;
                                  &lt;groupId&gt;com.sun.jmx&lt;/groupId&gt;
                                  &lt;artifactId&gt;jmxri&lt;/artifactId&gt;
                              &lt;/exclusion&gt;
                          &lt;/exclusions&gt;
                          &lt;scope&gt;runtime&lt;/scope&gt;
                      &lt;/dependency&gt;
  
                      &lt;!-- @Inject --&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;javax.inject&lt;/groupId&gt;
                          &lt;artifactId&gt;javax.inject&lt;/artifactId&gt;
                          &lt;version&gt;1&lt;/version&gt;
                      &lt;/dependency&gt;
  
                      &lt;!-- Servlet --&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
                          &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
                          &lt;version&gt;2.5&lt;/version&gt;
                          &lt;scope&gt;provided&lt;/scope&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;javax.servlet.jsp&lt;/groupId&gt;
                          &lt;artifactId&gt;jsp-api&lt;/artifactId&gt;
                          &lt;version&gt;2.1&lt;/version&gt;
                          &lt;scope&gt;provided&lt;/scope&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
                          &lt;artifactId&gt;jstl&lt;/artifactId&gt;
                          &lt;version&gt;1.2&lt;/version&gt;
                      &lt;/dependency&gt;
  
                      &lt;!-- Test --&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;junit&lt;/groupId&gt;
                          &lt;artifactId&gt;junit&lt;/artifactId&gt;
                          &lt;version&gt;4.7&lt;/version&gt;
                          &lt;scope&gt;test&lt;/scope&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;javax.validation&lt;/groupId&gt;
                          &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
                      &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
                          &lt;artifactId&gt;hibernate-entitymanager&lt;/artifactId&gt;
                          &lt;version&gt;3.6.8.Final&lt;/version&gt;&lt;!--$NO-MVN-MAN-VER$--&gt;
                      &lt;/dependency&gt;
                  &lt;/dependencies&gt;
                  &lt;build&gt;
                      &lt;plugins&gt;
                          &lt;plugin&gt;
                              &lt;artifactId&gt;maven-eclipse-plugin&lt;/artifactId&gt;
                              &lt;version&gt;2.9&lt;/version&gt;
                              &lt;configuration&gt;
                                  &lt;additionalProjectnatures&gt;
                                      &lt;projectnature&gt;org.springframework.ide.eclipse.core.springnature&lt;/projectnature&gt;
                                  &lt;/additionalProjectnatures&gt;
                                  &lt;additionalBuildcommands&gt;
                                      &lt;buildcommand&gt;org.springframework.ide.eclipse.core.springbuilder&lt;/buildcommand&gt;
                                  &lt;/additionalBuildcommands&gt;
                                  &lt;downloadSources&gt;true&lt;/downloadSources&gt;
                                  &lt;downloadJavadocs&gt;true&lt;/downloadJavadocs&gt;
                              &lt;/configuration&gt;
                          &lt;/plugin&gt;
                          &lt;plugin&gt;
                              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                              &lt;version&gt;2.3.2&lt;/version&gt;
                              &lt;configuration&gt;
                                  &lt;source&gt;1.6&lt;/source&gt;
                                  &lt;target&gt;1.6&lt;/target&gt;
                                  &lt;compilerArgument&gt;-Xlint:all&lt;/compilerArgument&gt;
                                  &lt;showWarnings&gt;true&lt;/showWarnings&gt;
                                  &lt;showDeprecation&gt;true&lt;/showDeprecation&gt;
                              &lt;/configuration&gt;
                          &lt;/plugin&gt;
                          &lt;plugin&gt;
                              &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                              &lt;artifactId&gt;exec-maven-plugin&lt;/artifactId&gt;
                              &lt;version&gt;1.2.1&lt;/version&gt;
                              &lt;configuration&gt;
                                  &lt;mainClass&gt;org.test.int1.Main&lt;/mainClass&gt;
                              &lt;/configuration&gt;
                          &lt;/plugin&gt;
                      &lt;/plugins&gt;
                  &lt;/build&gt;
  
                  &lt;dependencyManagement&gt;
  
                      &lt;dependencies&gt;
                          &lt;dependency&gt;
                              &lt;groupId&gt;javax.validation&lt;/groupId&gt;
                              &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
                              &lt;version&gt;1.0.0.GA&lt;/version&gt;
                          &lt;/dependency&gt;
                          &lt;dependency&gt;
                              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
                              &lt;artifactId&gt;hibernate-entitymanager&lt;/artifactId&gt;
                              &lt;version&gt;3.6.8.Final&lt;/version&gt;
                          &lt;/dependency&gt;
                      &lt;/dependencies&gt;
                  &lt;/dependencyManagement&gt;
              &lt;/project&gt;
  </code></pre>
  
  <p>For some reason org.hibernate hibernate-entitymanager </p>
  
  <p>cannot be found. The maven setup I am using is the default that comes with springsource tool suite. I made no modifications to the version of maven they gave me. I am trying to build this on 64 bit windows machine with jdk 7 installed. </p>
  
  <p>I have looked into the other solutions like updating depdencies and configuration in the menu that pops up when you right click on a project and go to maven.</p>
  
  <p>Some people have said I need to enable the dependencies but there is no menu to do so on the right and I am able to download things like the hibernate core and have the dependencies be properly resolved. Just having issues with that specific dependency. </p>
  
  <p>Do I need to add repositories or anything of that nature to the original settings.xml file provided with the installation of maven in SpringSource Tool Suite?</p>