You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by gs...@apache.org on 2011/03/29 17:07:11 UTC
svn commit: r1086623 - in /lucene/dev/branches/branch_3x: ./ lucene/
lucene/build.xml solr/ solr/build.xml solr/common-build.xml
Author: gsingers
Date: Tue Mar 29 15:07:11 2011
New Revision: 1086623
URL: http://svn.apache.org/viewvc?rev=1086623&view=rev
Log:
LUCENE-2998: backport to 3.x
Modified:
lucene/dev/branches/branch_3x/ (props changed)
lucene/dev/branches/branch_3x/lucene/ (props changed)
lucene/dev/branches/branch_3x/lucene/build.xml
lucene/dev/branches/branch_3x/solr/ (props changed)
lucene/dev/branches/branch_3x/solr/build.xml
lucene/dev/branches/branch_3x/solr/common-build.xml
Modified: lucene/dev/branches/branch_3x/lucene/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/build.xml?rev=1086623&r1=1086622&r2=1086623&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/build.xml (original)
+++ lucene/dev/branches/branch_3x/lucene/build.xml Tue Mar 29 15:07:11 2011
@@ -437,7 +437,9 @@
</scp>
</target>
- <target name="stage" depends="dist-all, generate-maven-artifacts, sign-artifacts, copy-to-stage">
+ <target name="prepare-release" depends="clean, dist-all, generate-maven-artifacts, sign-artifacts"/>
+ <target name="stage" depends="prepare-release, copy-to-stage">
+
</target>
<target name="generate-maven-artifacts" depends="maven.ant.tasks-check, package, jar-src, jar-test-framework-src, javadocs">
Modified: lucene/dev/branches/branch_3x/solr/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/build.xml?rev=1086623&r1=1086622&r2=1086623&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/solr/build.xml (original)
+++ lucene/dev/branches/branch_3x/solr/build.xml Tue Mar 29 15:07:11 2011
@@ -934,14 +934,14 @@
keyfile="${keyfile}"
verbose="true"
>
- <fileset dir="dist"/>
+ <fileset dir="package"/>
<fileset dir="${keys.dir}">
<include name="KEYS"/>
</fileset>
</scp>
</target>
- <target name="prepare-release" depends="clean, svn-up, package, sign-artifacts"
+ <target name="prepare-release" depends="clean, svn-up, package, generate-maven-artifacts, sign-artifacts"
description="Prototype helper for Committers. Assumes gpg is in the path"/>
<target name="stage" depends="prepare-release, copy-to-stage"/>
Modified: lucene/dev/branches/branch_3x/solr/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/common-build.xml?rev=1086623&r1=1086622&r2=1086623&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/solr/common-build.xml (original)
+++ lucene/dev/branches/branch_3x/solr/common-build.xml Tue Mar 29 15:07:11 2011
@@ -415,6 +415,8 @@
</sequential>
</macrodef>
+ <property name="gpg.exe" value="gpg" />
+ <property name="gpg.key" value="CODE SIGNING KEY" />
<macrodef name="sign-artifact" description="Signs the artifact">
<attribute name="input.file"/>
<attribute name="output.file" default="@{input.file}.asc"/>
@@ -422,10 +424,13 @@
<sequential>
<echo >Signing @{input.file} Sig File: @{output.file}</echo>
- <exec executable="gpg" >
+ <exec executable="${gpg.exe}" >
+ <arg value="--batch"/>
<arg value="--armor"/>
<arg value="--output"/>
<arg value="@{output.file}"/>
+ <arg value="--default-key"/>
+ <arg value="${gpg.key}"/>
<arg value="--passphrase"/>
<arg value="@{gpg.passphrase}"/>
<arg value="--detach-sig"/>