First, I would not use 2.1.0, use 2.0.10 or 2.2.1 instead. I'm fairly
certain that -U works properly in those versions. (2.1.0 shouldn't be
used at all, there were lots of issues there and we went right to
2.2.x)

On Tue, Nov 17, 2009 at 6:24 AM, Yury Kudryashov
<ykudryas...@devexperts.com> wrote:
> 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-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

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

Reply via email to