[infinispan-issues] [JBoss JIRA] (ISPN-2762) Add version information to infinispan-core JAR file

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Wed Jan 30 12:30:51 EST 2013


     [ https://issues.jboss.org/browse/ISPN-2762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño resolved ISPN-2762.
------------------------------------

    Fix Version/s:     (was: 5.2.0.Final)
       Resolution: Rejected


Plenty of ways in which you can figure the version of an Infinispan jar:

{code}$ java -jar infinispan-core-5.2.0.CR3.jar 

Infinispan

Version: 	5.2.0.CR3
Codename: 	Delirium
History: 	(see https://jira.jboss.org/jira/browse/ISPN for details){code}

Checking the META-INF/MANIFEST.MF file:

{code}Manifest-Version: 1.0
Bnd-LastModified: 1359122063398
Build-Jdk: 1.6.0_37
Built-By: g
Bundle-Description: Infinispan core module
Bundle-DocURL: http://www.infinispan.org/
Bundle-License: http://repository.jboss.org/licenses/lgpl-2.1.txt
Bundle-ManifestVersion: 2
Bundle-Name: Infinispan Core
Bundle-SymbolicName: org.infinispan.core
Bundle-Vendor: JBoss, a division of Red Hat
Bundle-Version: 5.2.0.CR3
Created-By: Apache Maven Bundle Plugin{code}

Finally, a SNAPSHOT is uploaded with a timestamp which I think it's good enough. If you specifically know how to add Git snapshot info to a SNAPSHOT, maybe you wanna contribute that? :)
                
> Add version information to infinispan-core JAR file
> ---------------------------------------------------
>
>                 Key: ISPN-2762
>                 URL: https://issues.jboss.org/browse/ISPN-2762
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Core API
>    Affects Versions: 5.2.0.CR3
>            Reporter: Alan Field
>            Assignee: Galder Zamarreño
>
> Infinispan version information is logged when a cache is created, but it would be useful to have this information included in the infinispan-core JAR file. I discovered this when I was building and packaging RadarGun and wanted to know which version of Infinispan 5.2 was included. Currently no version information is included in the JAR file.
> The version information for a SNAPSHOT build could include the build date and a git hash, along with the version string.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the infinispan-issues mailing list