You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by bu...@apache.org on 2008/01/08 21:05:54 UTC
svn commit: r610122 - in /lucene/java/trunk: CHANGES.txt common-build.xml
Author: buschmi
Date: Tue Jan 8 12:05:53 2008
New Revision: 610122
URL: http://svn.apache.org/viewvc?rev=610122&view=rev
Log:
LUCENE-1123: Allow overriding the specification version for MANIFEST.MF
Modified:
lucene/java/trunk/CHANGES.txt
lucene/java/trunk/common-build.xml
Modified: lucene/java/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/java/trunk/CHANGES.txt?rev=610122&r1=610121&r2=610122&view=diff
==============================================================================
--- lucene/java/trunk/CHANGES.txt (original)
+++ lucene/java/trunk/CHANGES.txt Tue Jan 8 12:05:53 2008
@@ -398,6 +398,9 @@
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
Modified: lucene/java/trunk/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/common-build.xml?rev=610122&r1=610121&r2=610122&view=diff
==============================================================================
--- lucene/java/trunk/common-build.xml (original)
+++ lucene/java/trunk/common-build.xml Tue Jan 8 12:05:53 2008
@@ -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"/>
@@ -527,6 +528,7 @@
</project>
+