maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <>
Subject Re: Why are POMs of non-SNAPSHOT versions downloaded although already in local repo?
Date Tue, 26 Mar 2013 12:28:00 GMT
Are these POMs that exist? If a POM does not exist (i.e. only the .jar is
in the remote repository) then Maven will keep trying to find that pom.

Are you using Maven 3.x and changing effective repository ids across
builds? Maven 3.x stores the repository that a file was downloaded from and
if requesting a specific GAVCT and the local repository cache has that
GAVCT downloaded from a different URI then Maven will re-download from the
URI that is in effect in your current build.

The first question will probably be the answer you are looking for. The
second will lead you on a rat-run of chasing down bad poms, so only go that
way if the first does not resolve your issue.


On 26 March 2013 12:02, Jörg von Frantzius <>wrote:

> Hi,
> during our builds I can see that Maven downloads POMs for non-SNAPSHOT
> versions again, even though the POMs are already present in the local
> repository. I could understand that it does so for SNAPSHOT versions, but
> why also for non-SNAPSHOT versions?
> This causes the build to spend considerable time downloading POMs where it
> doesn't seem necessary.
> Does anybody know a particular reason for this happening?
> Regards,
> Jörg
> --
> *Dipl. inf. Jörg von Frantzius, System Architect*
> Email mailto:joerg.frantzius@aperto.**de <>
> Phone +49 30 283921-318
> Fax +49 30 283921-29
> Aperto AG - In der Pianofabrik
> Chausseestraße 5, D-10115 Berlin-Mitte
> HRB 77049, AG Berlin Charlottenburg
> Vorstand: Dirk Buddensiek (Vorsitzender), Kai Großmann, Stephan Haagen
> Aufsichtsrat: Bernd Hardes (Vorsitzender)

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message