We've had similar questions where I work. The question has been related to
how and when to create tags in CVS (preferrably using the
maven-release-plugin).

Some people advocate tagging every build so that it can be recreated in case
it was fit for delivery. This is a problem when using CVS since huge number
of tags are not handled very well.

However, builds that could potentially become a released version must be
recreatable somehow which implies a tag in the version control system.
Whenever a "release candidate" is built, doesn't it have to be tagged - and
therefore released?

When we enter a system testing period close to the release of a new version.
We normally build and deploy new versions automatically every day. At some
point we decide that it's good enough to release. It is then imperative that
the latest build (which we have used for testing) is the one we package and
tag.

What are the best practices around this? I'm very curious to know how other
organisations handle this using maven.

/Bengt


2010/9/15 Baptiste MATHUS <[email protected]>

> Well, for example, we don't release automatically. We  launch manually it
> via a special release plugin through hudson, itself launching a maven
> release through the maven-release-plugin.
>
> This makes it easier to keep a clean release environment. Releasing from a
> development machine would add risk since it (1) might be less close to the
> production system and (2) might contain things depending on the dev box
> that
> wasn't added to the SCM.
>
> Snapshot builds are totally sufficient for us to handle testing purposes.
>
> Cheers
>
> 2010/9/15 baz themail <[email protected]>
>
> > Hi,
> >
> > I have been searching the maven website and articles but not sure if i
> > get the best practice for managing snapshots and release.
> > Specifically, if continuous builds produce maven snapshot builds, then
> > when will i produce maven release builds using maven release plug-in?
> >
> > Will I ever produce a maven release build via an automated build job
> > that runs daily for example? The problem with that is: Because maven
> > plugin is incrementing pom.xml, and the automated build job will
> > always detect changes even tho there is no changes in the produce
> > software code. Does it even make sense? Or, release build should be
> > run manually depending on the release schedule?
> >
> > Thank you.
> >
> > A.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>
>
> --
> Baptiste <Batmat> MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor !
>

Reply via email to