LUCENE-1123: Allow overriding the specification version for MANIFEST.MF

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@610122 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Busch 2008-01-08 20:05:53 +00:00
parent fab92e9494
commit 7d2ffdb8f7
2 changed files with 6 additions and 1 deletions

View File

@ -398,6 +398,9 @@ Build
7. LUCENE-935: Allow to deploy maven artifacts to a remote m2 repository
via scp and ssh authentication. (Michael Busch)
8. LUCENE-1123: Allow overriding the specification version for
MANIFEST.MF (Michael Busch)
Test Cases

View File

@ -41,6 +41,7 @@
<property name="name" value="${ant.project.name}"/>
<property name="Name" value="Lucene"/>
<property name="version" value="2.4-dev"/>
<property name="spec.version" value="${version}"/>
<property name="year" value="2000-${current.year}"/>
<property name="final.name" value="lucene-${name}-${version}"/>
@ -270,7 +271,7 @@
<manifest file="${manifest.file}">
<attribute name="Specification-Title" value="@{title}"/>
<!-- spec version must match "digit+{.digit+}*" -->
<attribute name="Specification-Version" value="${version}"/>
<attribute name="Specification-Version" value="${spec.version}"/>
<attribute name="Specification-Vendor"
value="The Apache Software Foundation"/>
<attribute name="Implementation-Title" value="org.apache.lucene"/>
@ -538,3 +539,4 @@