title: Maven : Can't find the jar file
body: <p><a href="http://i.stack.imgur.com/Cj8hA.png" rel="nofollow">Target Folder</a>I was using ANT before but I have switched to Maven so pretty new with it . I have set the packaging to JAR in pom.xml. But my question is where can I find this jar file (location) once the build is passed. Where can I set the location in pom.xml and along with it do I have to add any jar plugins in the pom.
  <a href="http://i.stack.imgur.com/Ymu9U.png" rel="nofollow">CMD output</a></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;tiger&lt;/groupId&gt;
      &lt;artifactId&gt;SampleProject&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;jar&lt;/packaging&gt;
  
      &lt;name&gt;SampleProject&lt;/name&gt;
      &lt;url&gt;http://maven.apache.org&lt;/url&gt;
  
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
      &lt;/properties&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
              &lt;artifactId&gt;selenium-java&lt;/artifactId&gt;
              &lt;version&gt;2.45.0&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
              &lt;artifactId&gt;poi&lt;/artifactId&gt;
              &lt;version&gt;3.13&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;log4j&lt;/groupId&gt;
              &lt;artifactId&gt;log4j&lt;/artifactId&gt;
              &lt;version&gt;1.2.17&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.testng&lt;/groupId&gt;
              &lt;artifactId&gt;testng&lt;/artifactId&gt;
              &lt;version&gt;6.9.6&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- //for reportng(guice ,velocity is added) --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.uncommons&lt;/groupId&gt;
              &lt;artifactId&gt;reportng&lt;/artifactId&gt;
              &lt;version&gt;1.1.4&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.inject&lt;/groupId&gt;
              &lt;artifactId&gt;guice&lt;/artifactId&gt;
              &lt;version&gt;3.0&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;velocity&lt;/groupId&gt;
              &lt;artifactId&gt;velocity-dep&lt;/artifactId&gt;
              &lt;version&gt;1.4&lt;/version&gt;
          &lt;/dependency&gt;
  
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;pluginManagement&gt;
              &lt;plugins&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                      &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
                      &lt;version&gt;2.18.1&lt;/version&gt;
  
                      &lt;configuration&gt;
                          &lt;suiteXmlFiles&gt;
                              &lt;suiteXmlFile&gt;testng.xml&lt;/suiteXmlFile&gt;
                          &lt;/suiteXmlFiles&gt;
                      &lt;/configuration&gt;
  
                  &lt;/plugin&gt;
              &lt;/plugins&gt;
          &lt;/pluginManagement&gt;
      &lt;/build&gt;
      &lt;!-- &lt;reporting&gt; &lt;plugins&gt; TestNG-xslt related configuration. &lt;plugin&gt; &lt;groupId&gt;org.reportyng&lt;/groupId&gt; 
          &lt;artifactId&gt;reporty-ng&lt;/artifactId&gt; &lt;version&gt;1.2&lt;/version&gt; &lt;configuration&gt; 
          Output directory for the testng xslt report &lt;outputDir&gt;/target/testng-xslt-report&lt;/outputDir&gt; 
          &lt;sortTestCaseLinks&gt;true&lt;/sortTestCaseLinks&gt; &lt;testDetailsFilter&gt;FAIL,SKIP,PASS,CONF,BY_CLASS&lt;/testDetailsFilter&gt; 
          &lt;showRuntimeTotals&gt;true&lt;/showRuntimeTotals&gt; &lt;/configuration&gt; &lt;/plugin&gt; &lt;/plugins&gt; 
          &lt;/reporting&gt; --&gt;
  
  
  &lt;/project&gt;
  </code></pre>