maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yury Kudryashov" <ykudryas...@devexperts.com>
Subject Maven not taking the latest snapshot
Date Tue, 17 Nov 2009 11:24:36 GMT
Hello,

We have a set of products some of them depending on the others. We use Maven
to control dependencies and a continuous integration server to check whether
the changes are compatible. 

Continuous integration server first builds and deploys (to local Nexus-based
repository) snapshot versions of the parent component and then builds the
dependent components (which take and use the parent SNAPSHOTS). 

The problem is that sometimes the continuous integration server caches a
SNAPSHOT artifact in the local repository and then refuses to take newer one
from the remote repository. This leads to failing builds. This happens
periodically, but not all the time. Deletion of the local repository on the
build server helps, but it is very inconvenient.

Builds are run with the -U switch, but it seems to have no effect. 

We're using Maven 2.1.0 on Ubuntu.

Please advise what can be the cause of the problem.

Thank you.


--
Yury Kudryashov




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message