Hi JB,

The info shows the Karaf version (for instance 3.0.2), but I would like the 
assembly one, i.e. the one used to name the assembly archives (both .tar.gz and 
.zip).

I would need this information at runtime. Is there a way to retrieve it?

JP

[@@ OPEN @@]


-----Message d'origine-----
De : Jean-Baptiste Onofré [mailto:[email protected]] 
Envoyé : lundi 5 octobre 2015 16:06
À : [email protected]
Objet : Re: Karaf assembly version

Hi JP,

you mean the version that you have in shell:info for instance ?

You have a System property at runtime about that. I guess you need at build 
time ?

Regards
JB

On 10/05/2015 03:46 PM, CLEMENT Jean-Philippe wrote:
> Dear Karaf,
>
> I would like to retrieve the version used by the karaf-maven-plugin during 
> the assembly (for instance sample-assembly-1.0.0-SNAPSHOT.tar.gz => 
> 1.0.0-SNAPSHOT). The goal is to show it inside the application (something 
> like the "about" box).
>
> Is there a simple way to do so?
>
> Kind regards,
> JP
>
> [@@ OPEN @@]
>

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to