Discussion:
I need a way for Maven to set a version number readable in the t
Stuart Maclean stuart-2Mt1T0R+FriWzc88wn+gRje48wsgrGvP@public.gmane.org [seajug]
2014-06-06 19:06:32 UTC
Permalink
I think Maven adds a META-INF/pom.properties (or some similar name?)
resource to an artifact jar which essentially gives you the same result
as having the filtered src/main/resources/version.prp file mentioned in
the thread. Of course now your runtime lookup of the version info would
be tied to a Maven build of that code.

Stuart


------------------------------------
Posted by: Stuart Maclean <stuart-2Mt1T0R+FriWzc88wn+***@public.gmane.org>
------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/seajug/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/seajug/join
(Yahoo! ID required)

<*> To change settings via email:
seajug-digest-***@public.gmane.org
seajug-fullfeatured-***@public.gmane.org

<*> To unsubscribe from this group, send an email to:
seajug-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo Groups is subject to:
https://info.yahoo.com/legal/us/yahoo/utos/terms/

Loading...