LUCENE-935: Defined property "m2.repository.url" to allow setting the url to a maven remote repository to deploy to.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@590873 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Busch 2007-11-01 01:26:43 +00:00
parent 7012f67027
commit 8508386bcb
2 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
Lucene Change Log
Lucene Change Log
$Id$
@ -220,6 +220,9 @@ Build
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

View File

@ -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>
@ -489,3 +490,4 @@