> I understand that a SNAPSHOT dependency will be pulled from my local
> repository, and once a day maven will make a check for a newer version
> in remote repositories known to the build.  Is this behavior the same if the
> SNAPSHOT dependency in local was built and installed from a local build?

I don't understand the question.

Maven will use the latest SNAPSHOT in your local repo cache, period.

If this happens to be a built-locally SNAPSHOT, it will be used.

If this happens to be a
built-remotely-and-downloaded-from-corporate-repo SNAPSHOT (eg your
local SNAPSHOT is older than this one), then it will be used -- until
you build and install a newer one locally.

The "fun" stuff happens when multiple people are working on branches
of the same artifact... and colliding with each other in local and
remote repos with their various jars... which causes some people to
either "lock down" a given artifact to one person/group each day or
insert a branch-id into the artifact-id or other things.

Wayne

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

Reply via email to