There are ways... they probably involve creating manifest entries

2009/2/22 Google Mail <[email protected]>

> Stephen,
>
> another chanllenge,
>
> mytool --version should give
>
> mytool, version 1.0-SNAPSHOT (b476)
>   compiled Feb 17 2009, 12:42:22
>
> Is there maven support to supply this three parameters (versionId, svn
> version and compile timestamp) direct into the java source code
> without handy synchronization with pom.xml, svn info and so on? May be
> with help of release plugin?
>
> Thought?
>
> am Sunday, February 22, 2009 um 12:51 PM schrieben Sie:
>
> > I understand what you are trying to do, but you will end up losing the
> > version range functionality in maven with version numbers in that format
>
> > have a look at maven's rules fir comparing version numbers, then look
> > at my bitchfest with Jason over me wanting five digit support and
> > Jason saying m3 will be osgi format version numbers on this list some
> > time in the past two weeks
>
> > if you can stick with maven conventions, your life will be much
> > easier... drink the damn kool aid
>
> > Sent from my [rhymes with myPod] ;-)
>
> > On 22 Feb 2009, at 07:04, Oleg Taranenko <
> [email protected]
>  >> wrote:
>
> >> Hello Users,
> >>
> >>  I want to get the version in form toolname-1.0.1-build_476-20090217
> >>  where 1.0.1 is maven's versionId attribute, 476 - subversion's build
> >>  number, and 20090217 - date of release.
> >>
> >>  Could someone pointing how? I hope I'm not a first wishing this.
> >>
> >>  Thanks in advance, Oleg
> >>
> >> --
> >> Best regards,
> >> Oleg                          mailto:[email protected]
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
>
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
>
>
>
>
> --
> Mit freundlichen Grüßen
> Google Mail
> mailto:[email protected]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to