archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff <predato...@gmail.com>
Subject Re: Unique SNAPSHOT version and buildNumber question...
Date Mon, 17 Jun 2013 00:49:46 GMT
Is this getting through?


On Thu, Jun 13, 2013 at 11:31 AM, Jeff <predatorvi@gmail.com> wrote:

> Anyone have suggestions on how to do this?
>
>
> On Wed, Jun 12, 2013 at 3:40 PM, Jeff <predatorvi@gmail.com> wrote:
>
>> I'm still trying to get my head around this and hope someone here can
>> help.
>>
>> When a SNAPSHOT build of our WAR files is deployed to Archiva, such as:
>>
>>      MyApp-1.0.0-SNAPSHOT.war
>>
>> the "SNAPSHOT" gets replaced with a unique timestamp/version number, such
>> as:
>>
>>      MyApp-1.0.0-20130607.220924-2.war
>>
>> I would like to have the exact version number (e.g.,
>> 1.0.0-20130607.220924-2) in the MANIFEST.MF (or some other property file)
>> that can be made available in the application/service itself so we can
>> determine exactly what build is deployed to tomcat.
>>
>> I've been glancing at the buildnumber-maven-plugin but I don't *think* it
>> will work because I need the unique SNAPSHOT version in the MANIFEST.MF to
>> correlate with the actual artifact timestamp in Archiva.
>>
>> Has anyone done this and if so how?
>>
>> Many thanks!
>>
>> --
>> Jeff Vincent
>> See my LinkedIn profile at:
>> http://www.linkedin.com/in/rjeffreyvincent
>> I ♥ DropBox <http://db.tt/9O6LfBX> !!
>>
>
>
>
> --
> Jeff Vincent
> See my LinkedIn profile at:
> http://www.linkedin.com/in/rjeffreyvincent
>



-- 
Jeff Vincent
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message