Are you at least proxying the external Maven repos through your own repo. That will speed things up.

Ron
On 25/07/2013 9:58 AM, Kristian Freed wrote:
Unfortunately we also have other internal libraries on SNAPSHOT versions
that do need to be retrieved from the repository, so going offline
completely is not an option.

Kristian


On Thu, Jul 25, 2013 at 2:12 PM, Andreas Dolk <
[email protected]> wrote:

Sure. Build in offline mode:

mvn install -o

It may not work everytime, but maven will complain loud enough, if it can't
find an artifact in your local repo.

Andreas


2013/7/25 Kristian Freed <[email protected]>

Hi,

In a current project, by convention, we use 1.0-LOCAL-SNAPSHOT as the
default version for local builds, producing official builds only through
our CI server. This works well but during local builds, Maven will
needlessly look for these versions in external repositories, slowing the
build down.

Is there a way to configure Maven never to look for specific versions
outside the local .m2 cache to avoid this slowdown?

Regards,
Kristian



--
Andreas Dolk

Zurmainerstraße 33
D-54292 Trier
Phone「+49 651 4362884」
Mobile「+49 177 4970815」
EMail「[email protected]


--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to