Dan,

please find my answer inlined.

Thanks a lot
Markus

    This is in contrast to the version scheme told in
    "BetterBuildsWithMaven.pdf", so does this mean that the SNAPSHOT
    mechanism only checks for the word SNAPSHOT "somewhere" in the
    version?
    Actually qualifiers will lower the version number will build numbers
    increase the version number. So is this still true when adding
-SNAPSHOT AFTER the build number as seen above? The numbering scheme told in BBWM is recommendation only. however, if you have
-SNAPSHOT at the end, when you deploy it to your internal repo, who ever
depends on your snapshot artifact will pickup up the latest of your snapshot automatically depending
your download policy.

So in fact -SNAPSHOT is to be set AFTER the build number but not as the qualifier. So that particular section of BBMW is wrong then: It says that SNAPSHOT shall be the qualifier (= BEFORE the build number). Whom to blame for? ;-)

    Is there some short description on how to use the release-plugin to
accomplish that (just a code line and a sentence what it does)? http://people.apache.org/~jtolentino/maven-release-plugin/ <http://people.apache.org/%7Ejtolentino/maven-release-plugin/> ( ongoing review )

Great, thanks a lot! But actually there is a bug on that page I think:

http://people.apache.org/~jtolentino/maven-release-plugin/examples/prepare-release.html

It says that I have to tell the name version's name, while you say that it automatically increases the number (what I'd like to prefer). So who is right and whom to blame?

basically, the release plugin validate your build, remove the "SNAPSHOT" out of your pom, tag your SCM, build and deploy the build ( your official release of 1.-0-beta-5), and finally increament your version and put back the SNAPSHOT string. ( ie 1.0-beta-6-SNAPSHOT )

Thanks so much for your kind help!
Maven is a great tool but the distributed documentation makes it hard to get started.

Markus
begin:vcard
fn:Markus KARG
n:KARG;Markus
org:QUIPSY QUALITY GmbH;Entwicklung / R & D
adr:;;Stuttgarter Strasse 23;Pforzheim;Baden-Wuerttemberg;75179;Bundesrepublik Deutschland
email;internet:[EMAIL PROTECTED]
title:Staatl. gepr. Inf.
tel;work:+49-7231-9189-52
tel;fax:+49-7231-9189-59
note:QUIPSY(R) Entwicklung / R & D
x-mozilla-html:TRUE
url:http://www.quipsy.de
version:2.1
end:vcard

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to