"By hand" means manually tweaking versions of dependencies in the pom,
that is, do not rely or even expect Maven to do this for you.

Use the [x.y.z] notation to "lock" a dependency to a specific version.
If this version of the dep exists in your local repo, Maven will
proceed without contacting any outside systems.

Use [x.y.z, ) notation to lock a dependency to "no less than" a
specific version. Maven will contact Central and other specified repos
for new versions, and pull them down to use them instead if any newer
versions exist.

Wayne

On 5/25/06, Lee Meador <[EMAIL PROTECTED]> wrote:
What do you do to "update by hand"? Does that mean you copy files into the
repository by hand?

Thanks.

On 5/24/06, Mike Perham <[EMAIL PROTECTED]> wrote:
>
> We put the explicit version for each plugin in our top-level POM and
> update them by hand as we need new features.  A deterministic build
> process should never use -U.
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Lee Meador
> Sent: Wednesday, May 24, 2006 2:28 PM
> To: [email protected]
> Subject: How to update maven plugins
>
> When I want to update maven 2 plugins (normally) I do a "mvn -U
> <target>"
> and all the plugins needed for that target are evaluated and, perhaps,
> updated.
>
> I am running Continuum in its own place with its own settings.xml and
> its own repository. I can update things by going to a continuum working
> folder and running the same target that the working directory is used to
> build. But the command line is long with the custom settings.xml.
>
> This could also be an issue if you had a standalone machine (or vm) for
> continuum to run in.
>
> I could modify the build in continuum to add the -U and then put it
> back.
>
> Being lazy, as all good developers, I was wondering if there was a
> better way to update the maven plugins and such that continuum is using.
>
> -- Lee Meador
> Sent from gmail. My real email address is [EMAIL PROTECTED]
>



--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]


Reply via email to