- Books --> In part out of date, in part expecting things in future that didn't happen (like EJB3 task told of in BBWM.pdf).
- WebSite --> Incomplete, in part wrong.- Private WebSites --> In part wrong, in part talking of old versions, in part talking of future versions.
- Mailing list authors talking of future plugins (but don't tell you).- Mailing list authors talking of current plugins (but the plugin is buggy so their talk doesn't work). - Mailing list authors talking the truth about current plugins (but is not flagged as "this is the real and only working answer").
How shall a BEGINNER like me filter out the essential knowledge out of THAT pool?
Actually using the Maven User (!) List just leads to confusion currently. Don't get me wrong, Maven is great and all the people here are really great and very kind and helpful. But beginners get overloaded by far with too old, too new, too incorrect information which results that in fact I still do not know whom to trust and what to do actually. I'm as far as I was at the beginning of the thread due to all those that liked me to help... Strange, isn't it. ;-)
Markus Wayne Fay schrieb:
He's talking about the release plugin, so that's where I'd start... Wayne ps- Maven is a bit of trial by fire... ;-) On 9/19/06, Markus KARG <[EMAIL PROTECTED]> wrote:Which one? dan tran schrieb: > Please read the doc ;-) >> On 9/19/06, *Markus KARG* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:> > So I shall do mvn -B deploy out what? > Please remind that I am a Maven starter...> If you want me something to try out then I need clear commands. :-)> > dan tran schrieb: > > > On 9/18/06, Markus KARG <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > wrote: > > > >> > >> 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? ;-) > > > > > >> > Mergere? :-) But as long as you understand how SNAPSHOT works, the> > version > > scheme is not that important any more. The general practice is > > > > x.y[.z]-[alpha|beta|rc1,rc2...]-n-SNAPSHOT > > > >> 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/>> >> > < 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><http://people.apache.org/%7Ejtolentino/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? > > > > > > > > Join the dev list and give your comment, i think there is a jira > > associate > > with that review. > >> > If you trust release plugin enought ( yeah i do ;-) ), there is a> > batch mode > > ( mvn -B ) that will> > trigger the plugin to auto assign values. I would suggest you to> > experiment > > with this plugin > > to get a hang of it. It works!! > > > >> 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
smime.p7s
Description: S/MIME Cryptographic Signature
