title: How to move my own archive file from Jenkins system to artifactory
body: <p>Thanks in advance! I am new to Jenkins and Maven. Please clarify my query for better understanding.</p>
  
  <p>After the build <code>war</code> getting deployed from Jenkins system to Artifactory location (created under the tags <code>&lt;distributionManagement&gt;</code>/<code>&lt;snapshotRepository&gt;</code> in parent <code>pom.xml</code>). How this is happening without any scripts configured in Jenkins?</p>
  
  <p>Can I do the same for my own archive file to place in Artifactory from Jenkins system after the build? I exposed some <code>jar</code>s and getting archived in Jenkins system during the build and expecting same to be placed in Artifactory after the build same as how <code>war</code> is getting placed in Artifactory.</p>
  
  <h2>PLugin details for deploy:</h2>
  
  <p>I have many webapps and parent/super pom.xml.All wars are getting deployed in artifactory repository.Now looking for solution to deploy common folder also (ProvidedDependencies_${version}  - Created during build time) .</p>
  
  <pre><code>&lt;plugin&gt;
                      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                      &lt;artifactId&gt;maven-deploy-plugin&lt;/artifactId&gt;
                      &lt;version&gt;2.6&lt;/version&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;deploy-file&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;repositoryId&gt;artifactory&lt;/repositoryId&gt;
                          &lt;generatePom&gt;true&lt;/generatePom&gt;
                          &lt;url&gt;${project.distributionManagement.snapshotRepository.url}&lt;/url&gt;
                          &lt;artifactId&gt;${project.artifactId}&lt;/artifactId&gt;
                          &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
                          &lt;version&gt;${project.version}&lt;/version&gt;
                          &lt;file&gt;/ProvidedDependencies_${version}&lt;/file&gt;
                      &lt;/configuration&gt;
                  &lt;/plugin&gt;
  </code></pre>