On Thu, 2004-12-09 at 15:46, Chad Woolley wrote:

> We could create a release branch for each release and store the POM 
> there, but this has two drawbacks.  One, it would take a lot of manual 
> scripting to make this happen in a reliable and generic way for all 
> projects.  Second, this would create a branch for every release for 
> every project.  This is a lot of unnecessary branches, since we release 
> often and usually don't have to make bug fixes on a branch (we TRY to 
> keep the HEAD in an always-releaseable state).

In order to reliably reproduce your snapshots you need to indicate that
within your SCM. Branches in CVS are expensive but all you need to do is
tag. In other SCMs like Subversion tags and branches are cheap. Now what
to use as a tag I would suggest using the timestamp generated by the
production of a snapshot for each project. This is something we are
trying to deal with in Continuum so we're trying to arrive at a best
practice with respect to Maven. You may have to do some manual tinkering
but I think using the snapshot identifier as a tag name would be best as
the artifact itself carries with it, by way of its name, the necessary
information to extract the corresponding sources from your SCM. The
snapshot identifier also clearly tells you when it was the snapshot was
produced as opposed to some other arbitrary, site local, tagging
convention which may not incorporate the date.

This is the approach I'm using with Continnum, which Trygve and I are
currently working on.

> Has anyone else tackled this problem, or have any ideas?
> 
> Thanks,
> Chad
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://maven.apache.org

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

 -- Thoreau 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to