On Fri, Jun 11, 2010 at 9:02 AM, Robottaway <robotta...
> Hi all,
> My name is Rob Ottaway I work on an web application called 'Cruvee',
> we are startup focused on the Wine industry. We're using Morphia in
> our project, and had a big issue come up yesterday.
I'm sorry to hear that.
> It seems you fellas are using Maven snapshots for releases! Please
> stop right away. Please. No. More.
Snapshot are not releases. They are a preview mechanism to test out
the current work.
> The problem is that Morphia experienced a major refactor that changed
> things in a non-backward compatible way, then releasing it as a new
> snapshot, you broke our project big time. This is because eventually
> Maven got around to checking for a new version of the SNAPSHOT and
> pulled it down and when it did BOOOM!
If you are working off snapshots then you are working off trunk and
you need to be aware of the issues that come along with that.
What was the breaking change that hit you? I'd like to make sure we
get it out there for others to be aware of.
> For future reference you'll want to release some form of 'beta',
> 'alpha', 'rc#' type of release every now and again. It's very bad form
> when using Maven to *release* off a SNAPSHOT. SNAPSHOTS are not meant
> to be used in other projects via the Maven dependency mechanism (well
> maybe it's ok if it's your project and internal).
Just to be clear, there is no release. Snapshot are current builds
from trunk for testing and prodding.
I'm not so familiar with maven, or maven repo management. What is the
correct way to push out daily snapshots?
Also, I'm told that you can pin your dep. to a certain version of a
snapshot. Can you just do this until you have time to upgrade?
> Sorry if it sounds like I'm being harsh. We greatly appreciate the
> your work on this tool. It's just we've experienced about a day of
> downtime because of this and I am cranky ^_^
I sympathize; I had thought about rev'n the version number and
skipping the 0.93 release after this major re-factoring; but the
user-facing interfaces haven't changed much, really.
> It appears the project pom contains the SCM information needed to do a
> "mvn release:prepare release:perform". Maybe we can use this to push
> out a beta/alpha/rc real quick and prevent this from happening again?
Do you still think this is needed considering what our snapshot really is?