Bug 57548 - Auto-generate the value for org.apache.taglibs.standard.Version class
Summary: Auto-generate the value for org.apache.taglibs.standard.Version class
Status: NEW
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Standard Taglib (show other bugs)
Version: 1.2.1
Hardware: PC All
: P2 minor (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-08 22:07 UTC by Konstantin Kolinko
Modified: 2015-02-09 00:35 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Kolinko 2015-02-08 22:07:29 UTC
The standard taglib has a Version class that prints version of the library.

It is called in this way:
java -cp taglibs-standard-impl-*.jar org.apache.taglibs.standard.Version

Currently the version there is hard-coded to be 1.2.0.

I'll manually update it for 1.2.3 release, but it would be better to automate this process.

Either
a) Make it auto-generated by Maven
b) Read the actual value from Implementation-Version entry of a manifest
c) Remove this feature
Comment 1 Konstantin Kolinko 2015-02-08 22:14:02 UTC
Updated for 1.2.3 by r1658264
Comment 2 Konstantin Kolinko 2015-02-09 00:35:51 UTC
README_bin.txt README_src.txt files also need to be updated manually

Updated manually for 1.2.3 in r1658280 and r1658281


The standard-test project specifies what version of main project it runs its tests against. Those values in standard-test/pom.xml are not updated by maven-release plugin.

Updated manually for 1.2.3 in r1658266