Todd,

M2E is expected to obey snapshot/release update policy configured for your repositories in settings.xml. By default, it will check snapshots updates once a day and release artifacts are not checked at all. Actual download is expected to happen only if repository artifact version is newer than version of the artifact available in the local repository. M2E may also be forcing snapshot updates on some manual operations (need to double check), but this certainly does not apply for release artifacts.Well, this is the theory, and this is how m2e behaves on my machine.

Now to your problem. First thing I would do is to check $HOME/.m2/settings.xml. Then try latest M2E dev update site [1] (I vaguely remember there was a bug with snapshot update checks). Then you probably want to submit a bugreport in JIRA [2], make sure to provide details about your environment and ideally a sample project to demonstrate the problem.

As a temporary workaround, you may want to install local repository manager, like Nexus [3].


[1] http://m2eclipse.sonatype.org/update-dev/
[2] http://jira.codehaus.org/browse/MNGECLIPSE
[3] http://nexus.sonatype.org/


Todd Eisemann wrote:
Hi all

Simple question from a simple mind

Using m2eclipse is great with my workspace while I’m local to our maven repos which are not exposed to the outside world.

When working on slow connection speeds (dsl, etc.) the build times are greatly effected by the downloading of all dependent artifacts.

Every time I do a build , some artifacts are downloaded multiple times. Such as opensaml-1.1.pom, and many jars get downloaded every time I do a build. Why?

Is there some way to have an artifact get downloaded only once into my local repo?

I’m familiar with the “Offline” option, that’s great for once my local repo is populated. But I’d like to have m2eclipse (embedded install) download a specific artifact and version only once , and then reuse that on subsequent builds.

Any clues would be greatly appreciated



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to