maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: Lightweight maven-releases, or an alternative to the maven-release-plugin
Date Wed, 01 May 2013 10:44:19 GMT
On 30 Apr 2013, at 11:21 PM, Roger Brechb├╝hl <rotscher.ch@gmail.com> wrote:

> Maybe somebody is interested in how a release could be built in a more
> lightweight and safe way than with the maven-release-plugin. Especially
> recommended for nightly releases.
> 
> It's not yet released, but basically fully working:
> 
> *mvn clean install -Dversion.override=1.2.3-S-5*
> 
> https://github.com/rotscher/emerging/tree/version.override-with_maven_install-2.4

Maven has a very clear definition of a "release", being an artefact that can traced back to
the precise code via a tag, and a build that can be repeated. This is as opposed to a snapshot,
which has no well defined origin.

You might approach this two ways, you might create "nightly snapshots" and have them deployed
somewhere suitable, using "mvn deploy".

Alternatively if you want to create proper "nightly releases" (in the maven sense), you could
feed a custom version number into the release plugin to represent your release, but this starts
to smell like "that's what a snapshot is for".

Regards,
Graham
--


Mime
View raw message