On Wed, Sep 26, 2012 at 11:21 AM, Ben Caradoc-Davies
<[email protected]> wrote:
> Are you using any other snapshots? If this is your only snapshot dependency,
> or the only one you are not building), you could use the new -nsu flag (no
> snapshot updates) in Maven 3.0.4 so that snapshots, once downloaded, are not
> checked for updates.
>
> A better alternative is to ask Martin to make a new geotoolkit release (it
> has been a year), or a milestone release if he is not ready. Milestones are
> a common pattern in GeoTools (from which Geotoolkit was forked) and are
> commonly made when needed for uDig releases.

Ideally you dont want to maintain this stuff and you want to get the
changes in the official baseline as soon as possible.
However if you are pressed for time and you are only releasing
artifacts internally, with no plans to share with others on the
internet, then another alternative is to build, and deploy, a local
version of the snapshot. See
http://docs.codehaus.org/display/MAVENUSER/Patching+Maven+Plugins for
some rough notes.
Since this solution only deploys locally (either to your own
repository, or corporate repository) it is no good if you are sharing
with others across the internet.

The benefits are you can version control your changes until they get
officially support, and avoids the use of -SNAPSHOTs which will stop
you being able to release your artifacts.

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

Reply via email to