You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by ev...@apache.org on 2019/01/27 18:23:11 UTC

[bigtop] branch master updated: BIGTOP-3147: Nexus proxy cache configuration is broken (#455)

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

evansye pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git


The following commit(s) were added to refs/heads/master by this push:
     new beaddba  BIGTOP-3147: Nexus proxy cache configuration is broken (#455)
beaddba is described below

commit beaddba5043282c019d96a10e2a2d68c067992d5
Author: Olaf Flebbe <of...@oflebbe.de>
AuthorDate: Sun Jan 27 19:23:07 2019 +0100

    BIGTOP-3147: Nexus proxy cache configuration is broken (#455)
---
 build.gradle | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/build.gradle b/build.gradle
index a53b672..be1efe8 100644
--- a/build.gradle
+++ b/build.gradle
@@ -353,7 +353,7 @@ def artifactToInstall = {
 }
 
 
-def _NEXUS_URL = project.hasProperty("NEXUS_URL") ? NEXUS_URL : "http://localhost:8081"
+def _NEXUS_URL = project.hasProperty("NEXUS_URL") ? NEXUS_URL : "http://localhost:8081/nexus"
 
 def generate_nexus_tasks = { name, url, snapshot ->
   task "configure-nexus-${name}"(type: Exec) {
@@ -383,7 +383,7 @@ def repos = [ [ "name": "conjars", "url" : "http://conjars.org", 'snapshot':'REL
           [ "name": "repository.jboss.org", "url": "http://repository.jboss.org/nexus/content/groups/public/", 'snapshot': 'RELEASE'],
           [ "name": "apache.snapshots.https", "url": "https://repository.apache.org/content/repositories/snapshots", "snapshot": 'SNAPSHOT'],
           [ "name": "apache.snapshots", "url": "https://repository.apache.org/content/repositories/snapshots", "snapshot": 'SNAPSHOT'],
-          [ "name": "maven2-repository.atlassian", "url": "https://maven.atlassian.com/repository/public", "snapshot": 'RELASE']]
+          [ "name": "maven2-repository.atlassian", "url": "https://maven.atlassian.com/repository/public", "snapshot": 'RELEASE']]
 
 repos.each { r->
   generate_nexus_tasks( r.name, r.url, r.snapshot)
@@ -391,7 +391,7 @@ repos.each { r->
 
 task "configure-nexus"(dependsOn: tasks.findAll { alltask -> alltask.name.startsWith("configure-nexus-")}*.name,
       description: 'configure build to use a sonatype nexus server.\n' +
-        '  Use -PNEXUS_URL=http://server:8081 to overwrite default server http://localhost:8081\n' +
+        '  Use -PNEXUS_URL=http://server:8081 to overwrite default server http://localhost:8081/nexus\n' +
         '  Use -PNEXUS_USERPASS=user:passwd to overwrite default username passwd admin:admin123') doLast {
    def m2Dir = System.getProperty("user.home") + "/.m2"
    mkdir(m2Dir)