title: How to move newly bundled jar file from target directory to custom location
body: <p>We using maven - please find below a excerpt of our pom.xml file.</p>
  
  <p>Our current procedure ist:</p>
  
  <ol>
  <li>stop the server : net stop "Macromedia JRun CFusion Server"  </li>
  <li>Move the new jar to server directory
  a.  Target Directory : C:\sha2Demo60Mvn\target\IbanWs-Client.jar
  b. Server Directory  :  C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\lib\IbanWs-Client.jar</li>
  <li>Start the server : net start "Macromedia JRun CFusion Server".</li>
  </ol>
  
  <p><strong>Question :</strong></p>
  
  <p>How we can copy the IbanWs-Client.jar file from target directory to acustom directory? The previously available jar file needs to removed and the new jar should be  copied. Please advise.</p>
  
  <pre class="lang-xml prettyprint-override"><code> &lt;build&gt;
          &lt;finalName&gt;IbanWs-Client&lt;/finalName&gt;
          &lt;resources&gt;
              &lt;resource&gt;
                  &lt;directory&gt;src/main/resources&lt;/directory&gt;
                  &lt;filtering&gt;true&lt;/filtering&gt;
                  &lt;includes&gt;
                      &lt;include&gt;**/*&lt;/include&gt;
                  &lt;/includes&gt;
                  &lt;excludes&gt;
                      &lt;exclude&gt;**/*.jks&lt;/exclude&gt;
                      &lt;exclude&gt;**/*.keystore&lt;/exclude&gt;
                  &lt;/excludes&gt;
              &lt;/resource&gt;
              &lt;resource&gt;
                  &lt;directory&gt;src/main/resources&lt;/directory&gt;
                  &lt;filtering&gt;false&lt;/filtering&gt;
                  &lt;includes&gt;
                      &lt;include&gt;**/*.jks&lt;/include&gt;
                      &lt;include&gt;**/*.keystore&lt;/include&gt;
                      &lt;include&gt;**/*.xml&lt;/include&gt;
                      &lt;include&gt;**/*.properties&lt;/include&gt;
                  &lt;/includes&gt;
              &lt;/resource&gt;
          &lt;/resources&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;${maven-compiler-plugin.version}&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.6&lt;/source&gt;
                      &lt;target&gt;1.6&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
                  &lt;version&gt;${maven-war-plugin.version}&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;failOnMissingWebXml&gt;false&lt;/failOnMissingWebXml&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  </code></pre>