Dan, thank you for your fast answer. In fact, I have some more detail questions as I do not find a complete guide on the version scheme somewhere (maybe you can give me a link to a *complete* guide?):

dan tran schrieb:

name your version as 1.0-beta-5-SNAPSHOT, it means your are working toward 1.0-beta-5 release.

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?

Once you are comfortable with your code base, you can the produce the real 1.0-beta5 using
maven-release-plugin.

You wanted to say "1.0-beta-5" I think (missing last dash)?

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)?

Thanks a lot!
Markus

-D

On 9/18/06, *Markus KARG* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    We are new to Maven2 and are wondering how the naming schema is to be
    used correctly. In "BetterBuildsWithMaven.pdf " is told that our
    schema
    shall be "Major.Minor.Fix-Qualifier-Build", (e. g. 1.0.0-beta-1).
    So we
    like to have the qualifier set to "beta-5" now, since we are producing
    our fifth beta release. On the other hand, we like the SNAPSHOT
    automatism (publishing using timestamp as qualifier, downloading
    latest
    JAR once a day). But how to tell Maven2 to do that together? I
    mean, the
    SNAPSHOT features are only working, if the word SNAPSHOT is used, but
    actually we are using "beta". So what is the correct way to say
    "this is
    a beta release but it shall be published with timestamp qualifier" and
    how to say "this project depends on a snapshot but that other
    project is
    named beta but not SNAPSHOT"?




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