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 2007/11/01 02:26:44 UTC
svn commit: r590873 - in /lucene/java/trunk: CHANGES.txt common-build.xml
Author: buschmi
Date: Wed Oct 31 18:26:43 2007
New Revision: 590873
URL: http://svn.apache.org/viewvc?rev=590873&view=rev
Log:
LUCENE-935: Defined property "m2.repository.url" to allow setting the url to a maven remote repository to deploy to.
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=590873&r1=590872&r2=590873&view=diff
==============================================================================
--- lucene/java/trunk/CHANGES.txt (original)
+++ lucene/java/trunk/CHANGES.txt Wed Oct 31 18:26:43 2007
@@ -1,4 +1,4 @@
-Lucene Change Log
+Lucene Change Log
$Id$
@@ -219,6 +219,9 @@
specified by -Dpatch.name. Can also specify any location by -Dpatch.file property on the command line. This
should be helpful for easy application of patches, but it is also a step towards integrating automatic patch
application with JIRA and Hudson, and is thus subject to change. (Grant Ingersoll)
+
+ 4. LUCENE-935: Defined property "m2.repository.url" to allow setting
+ the url to a maven remote repository to deploy to. (Michael Busch)
Test Cases
Modified: lucene/java/trunk/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/common-build.xml?rev=590873&r1=590872&r2=590873&view=diff
==============================================================================
--- lucene/java/trunk/common-build.xml (original)
+++ lucene/java/trunk/common-build.xml Wed Oct 31 18:26:43 2007
@@ -56,6 +56,7 @@
<property name="build.dir" location="build"/>
<property name="dist.dir" location="dist"/>
<property name="maven.dist.dir" location="dist/maven"/>
+ <property name="m2.repository.url" value="file://${maven.dist.dir}"/>
<property name="javacc.home" location="${common.dir}"/>
<property name="jflex.home" location="${common.dir}"/>
@@ -242,7 +243,7 @@
<artifact:pom id="maven.project" file="${build.dir}/@{pom.xml}" />
<artifact:deploy file="${build.dir}/${maven.project.build.finalName}.jar">
<artifact-attachments/>
- <remoteRepository url="file://${maven.dist.dir}"/>
+ <remoteRepository url="${m2.repository.url}"/>
<pom refid="maven.project"/>
</artifact:deploy>
</sequential>
@@ -482,6 +483,7 @@
</macrodef>
</project>
+