title: Add External JAR in Maven Dependency
body: <p>I am trying to add external JAR file <a href="https://projects.tigase.org/projects/tigase-muc/files" rel="nofollow">tigase-muc</a> in a maven based project <a href="https://projects.tigase.org/projects/tigase-server/files" rel="nofollow">tigase-server</a> in eclipse IDE.<br>
  I have tried following method</p>
  
  <pre><code>mvn install:install-file -Dfile=&lt;path-to-file&gt; -DgroupId=&lt;group-id&gt; \
  -DartifactId=&lt;artifact-id&gt; -Dversion=&lt;version&gt; -Dpackaging=&lt;packaging&gt;
  [INFO] Scanning for projects...
  [INFO] 
  [INFO] Building Tigase XMPP Server 5.1.0 5.2.0-SNAPSHOT
  [INFO] ------------------------------------------------------------------------
  [INFO]
  [INFO] --- maven-install-plugin:2.3:install-file (default-cli) @ tigase-server ---
  [INFO] Installing /home/haider/Downloads/tigase-muc-2.2.0.jar to /
  home/haider/.m2/repository/tigase/tigase-muc/2.2.0/tigase-muc-2.2.0.jar
  [INFO] --------------
  [INFO] BUILD SUCCESS
  [INFO] -------------
  [INFO] Total time: 0.791s
  [INFO] Finished at: Mon Aug 05 18:06:48 PKT 2013
  [INFO] Finished at: Mon Aug 05 18:06:48 PKT 2013
  [INFO] ----------------------
  </code></pre>
  
  <p>From above BUILD SUCCESS message i assume that JAR file is correctly added , but when i add following dependency in POM file </p>
  
  <pre><code>        &lt;dependency&gt;
          &lt;groupId&gt;tigase&lt;/groupId&gt;
          &lt;artifactId&gt;tigase-xmltools&lt;/artifactId&gt;
          &lt;version&gt;3.3.6&lt;/version&gt;
          &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>It give me following error <strong>Missing artifact tigase:tigase-muc</strong>. This message clearly indicate that it didn't get the JAR file that i am referring in dependency </p>
  
  <p><em>You Contribution will be highly appreciated THANKS</em></p>