You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by SkipWalker <sk...@skipwalker.com> on 2006/06/13 22:15:49 UTC
How do I add pom version + snapshot version number to App About
panel?
How do I add pom version + snapshot version number (and maybe SVN revision
number) to About panel ?
I have webstart application with an about panel. For debugging purposes
while we work on the app, I'd like the About panel to display the
application version along with that snapshot value that I don't know much
about other than it changes everytime maven builds the application. :)
We have the About panel populating itself from a properties file with an
entry for the version. It has something like
versionNumber= ???
So my question is, what's the easiest/best way to get my build to insert its
version number, along with snapshot number into the panel? I see maven uses
some filtering concepts, but I can't make sense of how to setup my project
and pom to do what I want. Is there some sort of
${pom.version}${pom.snapshotNumber} value I can use? How do I turn this
filtering on in the pom?
As additional aside, it would also be highly useful if I could somehow
include the SVN revision number that was used to create the build. If
anyone has any thoughts on that, I'd appreciate it.
Thanks,
Skip
--
View this message in context: http://www.nabble.com/How-do-I-add-pom-version-%2B-snapshot-version-number-to-App-About-panel--t1782334.html#a4853613
Sent from the Maven - Users forum at Nabble.com.