title: Class file from a external jar not found during maven build?
body: <p>I have created a runnable jar which i included in my project(Maven Project).
  But when i tried doing mvn clean package. My build gets failed It gives me an error in one of my class imports stating that the package does not exist(which is present in jar).</p>
  
  <p>What i tried:</p>
  
  <ol>
  <li>Tried adding the jat in Web App Libraries.</li>
  <li>Adding the  jar as external jar.</li>
  <li>Adding it in lib folder.</li>
  </ol>
  
  <p>Error Message:</p>
  
  <pre><code> Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project interplan: Compilation failure: Compilation failure:
  [ERROR] ..\..\..\MyVehicles.java:[11,40] error: package com.vehicles.parts.manager does not exist
  </code></pre>
  
  <p>Please guide. Thanks in advance.</p>