title: Java - Adding jar dependency in pom.xml
body: <p>I have never built my java applications by maven. But when i am trying to do that it's giving me error. 
  I have created JAR file from other java application just by exporting as JAR from that application.
  Now i want to add this JAR in my maven application. I don't really how to do that.</p>
  
  <p>this is how i have added in pom.xml. But i don't really know what should be it's artifact id.
  Seriously what is artifact id?</p>
  
  <pre><code>&lt;dependency&gt;
          &lt;groupId&gt;ProjectZen&lt;/groupId&gt;
          &lt;artifactId&gt;community&lt;/artifactId&gt;
          &lt;scope&gt;system&lt;/scope&gt;
          &lt;version&gt;1&lt;/version&gt;
          &lt;systemPath&gt;${basedir}\libs\ProjectZen.jar&lt;/systemPath&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>I am getting below error </p>
  
  <pre><code>Missing artifact ProjectZen:community:jar:1
  </code></pre>
  
  <p>Thanks
  Fahad Mullaji </p>