"mvn package” on my code , without tests, is actually pretty fast.  Takes
about one minute.  (I don’t need the tests btw as I’m using continuous
integration and the code is already tested).

One minute is pretty darn good…

The problem is that ‘deploy’ takes about 7 minutes.

That’s kind of not fun.

I think the issue is that I”m using scpexe for my distributionManagement
repository.

Any options for improving the performance here?

I think the issue is creating new SSH connections each time.  I could use
ControlPersist I think… which is an SSH feature to keep the SSH connection
in the background and re-use it.

Downside: This will require me to use a custom SSH config everywhere.

Another option is to use a file:// repository which is local and then rsync
the binaries over in one pass.

Downside: kind of jacky and requires an additional step.

Any other options ?



-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>

Reply via email to