Wednesday, August 27, 2008

Nexus == easy

I must admit, the Maven setup at work has me a bit spoiled. Direct LAN access to a bunch of Maven mirrors makes for some pretty fast builds. Problem is, when I go off site I have to suffer through slow builds again...

Thanks to Bruce I now have wicked fast builds off site too!! A local instance of Nexus is the answer. Seriously, go take a look at the steps Bruce posted. It took me like 30 minutes to setup and add about twenty mirrors - now thats freakin' easy.

Heres the best part (I'm building Apache Camel here with a clean local repo):

No mirroring
[INFO] Total time: 31 minutes 18 seconds

Custom internal mirrors
[INFO] Total time: 7 minutes 52 seconds

Nexus mirroring
[INFO] Total time: 3 minutes 3 seconds

Anyway, bottom line is that I'm impressed. Great work Maven guys!

1 comment:

Bruce Snyder said...

Wow, nice speed improvements on the build there, Jon. I'm glad you took a few minutes to set it up and reap the benefits of it. You should be thrilled with those build times, those improvements are huge. That's like an early Xmas gift!

I've seen comparable results on all of my builds, but I've been using Nexus for quite a while and Proximity before that, so I've had this speed for a while. Now I can't live without it ;-).