Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You can create folders contains of all dependencies with <a href="http://maven.apache.org/plugins/maven-dependency-plugin/" rel="nofollow">Maven Dependency Plugin</a> and simple sample added below</p> <pre><code> &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt; &lt;version&gt;2.4&lt;/version&gt; &lt;executions&gt; &lt;execution&gt; &lt;id&gt;copy-dependencies&lt;/id&gt; &lt;phase&gt;package&lt;/phase&gt; &lt;goals&gt; &lt;goal&gt;copy-dependencies&lt;/goal&gt; &lt;/goals&gt; &lt;configuration&gt; &lt;!-- configure the plugin here --&gt; &lt;/configuration&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; </code></pre> <p>and you can copy jar files to desire folder with following plugin</p> <p><a href="http://evgeny-goldin.com/wiki/Copy-maven-plugin" rel="nofollow">http://evgeny-goldin.com/wiki/Copy-maven-plugin</a></p> <p>this is a simple sample that you can use for copying files from dependency folder in target to another folder</p> <pre><code> &lt;plugin&gt; &lt;!-- download from here http://evgeny-goldin.org/artifactory/repo/com/goldin/plugins/maven-copy-plugin/0.2.3.8-beta-9/ --&gt; &lt;groupId&gt;com.goldin.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-copy-plugin&lt;/artifactId&gt; &lt;version&gt;0.2.3.8-beta-9&lt;/version&gt; &lt;executions&gt; &lt;execution&gt; &lt;id&gt;create-archive&lt;/id&gt; &lt;phase&gt;install&lt;/phase&gt; &lt;goals&gt; &lt;goal&gt;copy&lt;/goal&gt; &lt;/goals&gt; &lt;configuration&gt; &lt;resources&gt; &lt;!-- ~~~~~~~~~~~~~~ --&gt; &lt;!-- Copy resources --&gt; &lt;!-- ~~~~~~~~~~~~~~ --&gt; &lt;resource&gt; &lt;targetPath&gt;c:/YOUR_NEW_FOLDER/&lt;/targetPath&gt; &lt;directory&gt;${project.basedir}/target/dependency/&lt;/directory&gt; &lt;includes&gt; &lt;include&gt;*.jar&lt;/include&gt; &lt;/includes&gt; &lt;/resource&gt; &lt;/resources&gt; &lt;/configuration&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload