mirror of https://github.com/apache/lucene.git
LUCENE-935: Allow to deploy maven artifacts to a remote m2 repository via scp and ssh authentication.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@600440 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1e31d42043
commit
11a7bf835b
|
@ -323,6 +323,9 @@ Build
|
|||
6. LUCENE-1055: Remove gdata-server from build files and its sources
|
||||
from trunk. (Michael Busch)
|
||||
|
||||
7. LUCENE-935: Allow to deploy maven artifacts to a remote m2 repository
|
||||
via scp and ssh authentication. (Michael Busch)
|
||||
|
||||
Test Cases
|
||||
|
||||
======================= Release 2.2.0 2007-06-19 =======================
|
||||
|
|
|
@ -66,6 +66,7 @@
|
|||
<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="m2.repository.private.key" value="${user.home}/.ssh/id_dsa"/>
|
||||
|
||||
<property name="javacc.home" location="${common.dir}"/>
|
||||
<property name="jflex.home" location="${common.dir}"/>
|
||||
|
@ -248,11 +249,14 @@
|
|||
<filter token="version" value="${version}"/>
|
||||
</filterset>
|
||||
</copy>
|
||||
<artifact:install-provider artifactId="wagon-ssh" version="1.0-beta-2"/>
|
||||
|
||||
<artifact:pom id="maven.project" file="${build.dir}/@{pom.xml}" />
|
||||
<artifact:deploy file="${build.dir}/${maven.project.build.finalName}.jar">
|
||||
<artifact-attachments/>
|
||||
<remoteRepository url="${m2.repository.url}"/>
|
||||
<remoteRepository url="${m2.repository.url}">
|
||||
<authentication username="${m2.repository.username}" privateKey="${m2.repository.private.key}"/>
|
||||
</remoteRepository>
|
||||
<pom refid="maven.project"/>
|
||||
</artifact:deploy>
|
||||
</sequential>
|
||||
|
@ -533,3 +537,4 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue