Quick way to programmatically deploy artifacts to Nexus (in Java)
<p>I currently write a Java program that deploys a lot of legacy jars to Nexus. My approach is to invoke a process that starts the <code>deploy:deploy-file</code> goal on the command line </p>

<pre><code>mvn deploy:deploy-file ...
</code></pre>

<p>This is quite slow. I wonder if there is a faster way to do this?</p>