You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by no...@apache.org on 2020/04/20 02:32:20 UTC

[lucene-solr] branch branch_7_7 updated: LUCENE-9170: Use HTTPS when downloading wagon-ssh artifacts

This is an automated email from the ASF dual-hosted git repository.

noble pushed a commit to branch branch_7_7
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_7_7 by this push:
     new 1a0d2a9  LUCENE-9170: Use HTTPS when downloading wagon-ssh artifacts
1a0d2a9 is described below

commit 1a0d2a901dfec93676b0fe8be425101ceb754b85
Author: Mike Drob <md...@apache.org>
AuthorDate: Wed Apr 1 11:32:45 2020 +0100

    LUCENE-9170: Use HTTPS when downloading wagon-ssh artifacts
    
    Co-authored-by: Ishan Chattopadhyaya <is...@apache.org>
---
 lucene/common-build.xml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 5ea117c..b655def 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -216,6 +216,7 @@
   <property name="m2.repository.private.key" value="${user.home}/.ssh/id_dsa"/>
   <property name="m2.repository.id" value="local"/>
   <property name="m2.credentials.prompt" value="true"/>
+  <property name="maven.repository.id" value="remote"/>
 
   <property name="tests.workDir" location="${build.dir}/test"/>
   <property name="junit.output.dir" location="${build.dir}/test"/>
@@ -650,9 +651,13 @@
     <attribute name="pom.xml"/>
     <attribute name="jar.file" default="${dist.jar.dir.prefix}-${version}/${dist.jar.dir.suffix}/${final.name}.jar"/>
     <sequential>
-      <artifact:install-provider artifactId="wagon-ssh" version="1.0-beta-7"/>
+      <artifact:install-provider artifactId="wagon-ssh" version="1.0-beta-7">
+        <remoteRepository id="${maven.repository.id}" url="${ivy_bootstrap_url1}" />
+      </artifact:install-provider>
       <parent-poms/>
-      <artifact:pom id="maven.project" file="@{pom.xml}"/>
+      <artifact:pom id="maven.project" file="@{pom.xml}">
+        <remoteRepository id="${maven.repository.id}" url="${ivy_bootstrap_url1}" />
+      </artifact:pom>
       <artifact:deploy file="@{jar.file}">
         <artifact-attachments/>
         <remoteRepository id="${m2.repository.id}" url="${m2.repository.url}">