Return-Path: X-Original-To: apmail-geode-commits-archive@minotaur.apache.org Delivered-To: apmail-geode-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E2AB21839A for ; Mon, 8 Feb 2016 17:03:20 +0000 (UTC) Received: (qmail 32295 invoked by uid 500); 8 Feb 2016 17:03:20 -0000 Delivered-To: apmail-geode-commits-archive@geode.apache.org Received: (qmail 32265 invoked by uid 500); 8 Feb 2016 17:03:20 -0000 Mailing-List: contact commits-help@geode.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.incubator.apache.org Delivered-To: mailing list commits@geode.incubator.apache.org Received: (qmail 32153 invoked by uid 99); 8 Feb 2016 17:03:20 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Feb 2016 17:03:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 3398EC0D1F for ; Mon, 8 Feb 2016 17:03:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.649 X-Spam-Level: X-Spam-Status: No, score=-3.649 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.429] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id gqAoDxN2Kj-G for ; Mon, 8 Feb 2016 17:03:19 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id 67CC72158E for ; Mon, 8 Feb 2016 17:03:17 +0000 (UTC) Received: (qmail 30567 invoked by uid 99); 8 Feb 2016 17:03:17 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Feb 2016 17:03:17 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 3564CE0994; Mon, 8 Feb 2016 17:03:17 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: abaker@apache.org To: commits@geode.incubator.apache.org Date: Mon, 08 Feb 2016 17:03:58 -0000 Message-Id: <18d56ad9381c4ecab82234530b17463f@git.apache.org> In-Reply-To: <6b4129d3340042448e63c27a477f7b37@git.apache.org> References: <6b4129d3340042448e63c27a477f7b37@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [43/50] [abbrv] incubator-geode git commit: GEODE-781: Match repository id to allow Jenkins to upload Maven artifacts GEODE-781: Match repository id to allow Jenkins to upload Maven artifacts Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/fa60ac7a Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/fa60ac7a Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/fa60ac7a Branch: refs/heads/master Commit: fa60ac7acabd3deb6206002685810ce4a7897674 Parents: e9bf253 Author: Anthony Baker Authored: Fri Jan 15 11:07:11 2016 -0800 Committer: Anthony Baker Committed: Sat Jan 16 09:35:57 2016 -0800 ---------------------------------------------------------------------- build.gradle | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/fa60ac7a/build.gradle ---------------------------------------------------------------------- diff --git a/build.gradle b/build.gradle index 2322120..6004226 100755 --- a/build.gradle +++ b/build.gradle @@ -475,7 +475,6 @@ subprojects { // publishing configuration apply plugin: 'com.bmuschko.nexus' - apply plugin: 'maven-publish-auth' extraArchive { sources = true @@ -518,6 +517,17 @@ subprojects { } } + // Jenkins stores auth information in settings.xml. We apply the maven-publish-auth plugin to read that + // from gradle. However, we must match the repository id which the nexus plugin is not exposing. + apply plugin: 'maven-publish-auth' + afterEvaluate { + tasks.getByName('uploadArchives').repositories.mavenDeployer() { + if (project.nexus.snapshotRepositoryUrl) { + repository(id: 'apache.snapshots.https', url: project.nexus.snapshotRepositoryUrl) + } + } + } + // Make precheckin task run all validation tests for checking in code. task precheckin (dependsOn: [ build, integrationTest, distributedTest ]) { description 'Run this task before checking in code to validate changes. This task combines the following tasks: build, integrationTest, and distributedTest' @@ -535,4 +545,3 @@ subprojects { // Make sure clean task for rootProject runs last clean.finalizedBy rootProject.clean } -