title: Maven build errors
body: <p>Hi I am trying to install Hibernate v4.0.0.CR2 on my desktop machine and it requires Maven to operate.</p>
  
  <p>I set up the required environment variables for Maven and am trying to build maven from the command line. When I run the command 'mvn 3.0.3' in command prompt from the bin directory in Maven (which is on my desktop) I get the error:</p>
  
  <pre><code> D:\Documents and Settings\user\Desktop\apache-maven-3.0.3\bin&gt;mvn
   3.0.3 [INFO] Scanning for projects... [ERROR] The build could not read
   1 project -&gt; [Help 1] [ERROR] [ERROR]   The project
   org.hibernate.tutorials:hibernate-tutorial:1.0.0-SNAPSHOT
   (D:\Documents and
   Settings\user\Desktop\apache-maven-3.0.3\bin\pom.xml) has 4  errors
   [ERROR]     'dependencies.dependency.version' for
   org.hibernate:hibernate-core:j ar is missing. @ line 18, column 21
   [ERROR]     'dependencies.dependency.version' for
   javax.servlet:servlet-api:jar is missing. @ line 24, column 21 [ERROR]
   'dependencies.dependency.version' for org.slf4j:slf4j-simple:jar is
   missing. @ line 30, column 21 [ERROR]    
   'dependencies.dependency.version' for javassist:javassist:jar is mis
   sing. @ line 36, column 21 [ERROR] [ERROR] To see the full stack trace
   of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven
   using the -X switch to enable full debug logging. [ERROR] [ERROR] For
   more information about the errors and possible solutions, please rea d
   the following articles: [ERROR] [Help 1]
   http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
   gException D:\Documents and
   Settings\user\Desktop\apache-maven-3.0.3\bin&gt;
  </code></pre>
  
  <p>My POM.xml file is in the bin directory in Maven:</p>
  
  <pre><code> &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/xsd/maven-4.0.0.xsd"&gt;
  
       &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
       &lt;groupId&gt;org.hibernate.tutorials&lt;/groupId&gt;
       &lt;artifactId&gt;hibernate-tutorial&lt;/artifactId&gt;
       &lt;version&gt;1.0.0-SNAPSHOT&lt;/version&gt;
       &lt;name&gt;First Hibernate Tutorial&lt;/name&gt;
  
       &lt;build&gt;
            &lt;!-- we dont want the version to be part of the generated war
   file name --&gt;
            &lt;finalName&gt;${artifactId}&lt;/finalName&gt;
       &lt;/build&gt;
  
       &lt;dependencies&gt;
           &lt;dependency&gt;
               &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
               &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
           &lt;/dependency&gt;
  
           &lt;!-- Because this is a web app, we also have a dependency on
   the servlet api. --&gt;
           &lt;dependency&gt;
               &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
               &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
           &lt;/dependency&gt;
  
           &lt;!-- Hibernate uses slf4j for logging, for our purposes here
   use the simple backend --&gt;
           &lt;dependency&gt;
               &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
               &lt;artifactId&gt;slf4j-simple&lt;/artifactId&gt;
           &lt;/dependency&gt;
  
           &lt;!-- Hibernate gives you a choice of bytecode providers
   between cglib and javassist --&gt;
           &lt;dependency&gt;
               &lt;groupId&gt;javassist&lt;/groupId&gt;
               &lt;artifactId&gt;javassist&lt;/artifactId&gt;
           &lt;/dependency&gt;
       &lt;/dependencies&gt; &lt;/project&gt;
  </code></pre>
  
  <p>I am following the Hibernate tutorial on the website to get a feel for Hibernate to be used at work however I've stumbled upon this problem.</p>
  
  <p>Any ideas where I went wrong? </p>
  
  <p>Thank You!</p>