title: Can run a Maven project within IntelliJ but not from Terminal
body: <p>I have created a console application in IntelliJ that utilizes Maven. From within IntelliJ I can compile and run the app with no issues ... </p>
  
  <p>From terminal however i execute the following commands (in the same dir with pom.xml)</p>
  
  <pre><code>mvn Install -U
  java -classpath target/myApp-2.0-SNAPSHOT.jar MainClass
  </code></pre>
  
  <p>The install command seems to build the jar file without any issue. The second command gives me the following error</p>
  
  <pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/jackson/JsonParseException
  </code></pre>
  
  <p>In my pom.xml my dependencies are as follows</p>
  
  <pre><code>&lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;joda-time&lt;/groupId&gt;
          &lt;artifactId&gt;joda-time&lt;/artifactId&gt;
          &lt;version&gt;2.3&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
          &lt;artifactId&gt;jackson-mapper-asl&lt;/artifactId&gt;
          &lt;version&gt;1.5.0&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>It seems to me that its not pulling in the Jackson Dependencies but im not sure what im missing here. </p>