myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manfred Geiler" <>
Subject Re: Comments/questions about the use of snapshot dependencies during the release process.
Date Tue, 06 Feb 2007 17:19:57 GMT
inline >>>

On 2/6/07, Paul Spencer <> wrote:
> Manfred Geiler wrote:
> > On 2/6/07, Paul Spencer <> wrote:
> <snip>
> >>
> >> IMHO we should not add a SNAPSHOT dependency until their their is a
> >> change from the released version of the dependency.  This will minimize
> >> the number of projects to released.  Thus at the end of the release
> >> process, only the following SNAPSHOT dependencies should exist:
> >
> > See above. There are no officially available non-SNAPSHOT releases for
> > "maven-project" or "shared" or "core" yet.
> >
> >
> >> In addition the snapshot dependency should not be add until AFTER the
> >> release is cut.
> >
> > Same problem and additional danger here:
> > Imagine a developer changes something and forgets to increase the
> > version number of the artifact from "x.y.z" to "x.y.z-SNAPSHOT". If he
> > does a mvn install (or a mvn deploy!!!) he will have a total version
> > chaos in his local repo: He will have local artifacts with version
> > x.y.z that differ to the official released artifacts with the same
> > version number!
> >
> > See description of the maven release plugin [1] for best practice and
> > to learn how others are doing.
> >
> The version of the artifact should be a SNAPSHOT for the above reason.
> I am referring to how the artifact is used.  As an example, Tomahawk
> v1.1.5 will be dependent on maven-project v2.0.5. My comment was related
> to Tomahawk v1.1.6-SNAPSHOT.  Should it be dependent on maven-project
> v2.0.5 or v2.0.6-SNAPSHOT?

My feeling is that it should depend on maven-project v2.0.6-SNAPSHOT
because it seems safer in case someone checks in something into the
maven-project that is incompatible to tomahawk. This will be detected
then during continuum nightly build at the latest.

Well, and as mentioned before, there does not exist an official
maven-project v2.0.5 yet.

Do you mean, we should freeze tomahawks dependencies to maven-project
(and shared) until some new feature or fix is added to these artifacts
that is needed in tomahawk? Hmm. My feeling is that it makes more
problems than it solves. I think the best thing is to keep all MyFaces
"intra dependencies" on the trunk(s) at the latest ie. every
subproject uses the latest snapshot version of each other. Upon
releasing there is still a chance to turn back the dependency to an
artifact that has not changed since the last release.

That means: When we release a new tomahawk version in a few weeks and
the dependency to maven-project v2.0.6-SNAPSHOT there will be two
- there is NO diff between maven-project v2.0.5 and v2.0.6-SNAPSHOT
--> voila, we can release tomahawk with a dependency to maven-project
- there is A diff between maven-project v2.0.5 and v2.0.6-SNAPSHOT -->
we must publish an official maven-project v2.0.6 release first and
then release tomahawk with a dependency to maven-project v2.0.6



View raw message