Functions as designed.

You should only ever do development work on a project that has a -SNAPSHOT
version.

The -SNAPSHOT version indicates that this is the version we are working
towards...

Maven does not allow re-deploying a non-SNAPSHOT version, so that if you are
doing development with a pom that has version 4.5.1 and somebody
accidentally runs

mvn deploy

Then the code base *at that specific point in time* is what will be
deployed.

When you then later try to deploy 4.5.1 for real, the redeployment will/may
be silently quashed (depending on what repository manager and what version
of the maven deploy plugin you are using) and you have an irreproducible
build.

So the short answer is: "Because you'll f*ck it up if you don't use a
-SNAPSHOT version"

-Stephen

2009/1/12 Tibor Kiss <[email protected]>

> Hi.
>
> If I try to prepare a multi-project whose version is a non-snapshot
> version, it throws an exception:
> "You don't have a SNAPSHOT project in the reactor projects list."
>
> I don't understand why is a must to start releasing from a snapshot
> version?
>
> Regards,
> Tibor
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to