Return-Path: X-Original-To: apmail-geode-issues-archive@minotaur.apache.org Delivered-To: apmail-geode-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 54B3417B23 for ; Wed, 20 May 2015 23:13:10 +0000 (UTC) Received: (qmail 92027 invoked by uid 500); 20 May 2015 23:13:10 -0000 Delivered-To: apmail-geode-issues-archive@geode.apache.org Received: (qmail 91995 invoked by uid 500); 20 May 2015 23:13:10 -0000 Mailing-List: contact issues-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 issues@geode.incubator.apache.org Received: (qmail 91985 invoked by uid 99); 20 May 2015 23:13:10 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2015 23:13:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id AD1531A37E6 for ; Wed, 20 May 2015 23:13:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.791 X-Spam-Level: * X-Spam-Status: No, score=1.791 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ovVSs-FtlPb0 for ; Wed, 20 May 2015 23:13:00 +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 A825820D53 for ; Wed, 20 May 2015 23:13:00 +0000 (UTC) Received: (qmail 91914 invoked by uid 99); 20 May 2015 23:13:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2015 23:13:00 +0000 Date: Wed, 20 May 2015 23:13:00 +0000 (UTC) From: "John Blum (JIRA)" To: issues@geode.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (GEODE-26) Apache Geode 'build.gradle' inappropriately declares mavenLocal() in Repository declarations. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GEODE-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Blum updated GEODE-26: --------------------------- Priority: Critical (was: Major) > Apache Geode 'build.gradle' inappropriately declares mavenLocal() in Repository declarations. > --------------------------------------------------------------------------------------------- > > Key: GEODE-26 > URL: https://issues.apache.org/jira/browse/GEODE-26 > Project: Geode > Issue Type: Bug > Components: build > Affects Versions: 1.0.0-incubating > Environment: Any Gradle capable env for building Apache Geode. > Reporter: John Blum > Assignee: Mark Bretl > Priority: Critical > Labels: ApacheGeode, Gradle, Repositories, build.gradle, mavenLocal() > > In the [build.gradle|https://github.com/apache/incubator-geode/blob/master/build.gradle#L9-10] file of the _Apache Geode_ project, the {{repositories}} declaration inappropriately contains {{mavenLocal()}}. > The problem with this is, if developers contributing patches to the _Apache Geode_ codebase inadvertently include a "local" dependency to the dependencies defined in Geode's build.gradle file(s), then Geode will build locally but not when the patch is submitted and Geode's build infrastructure runs the same build with the code changes dependent on the non-existent, non-resolvable dependency, because, perhaps, it only exists in the developers "local" Maven (env) repository ({{~/.m2/repository}}). > There are other preferred ways in which users can specify the use of {{mavenLocal()}} to affect their work _Apache Geode_ codebase/build without modifying the actual _Apache Geode_ {{build.gradle}} file. > For instance, a developer can created a {{~/.gradle/init.gradle}} script to tweak "available" Repositories, like so... > {code:xml} > allprojects { > repositories { > mavenLocal() > maven { url "http://maven.domain.com/path/to/another/maven/repo"} > // etc... > } > } > {code} > See the [Gradle documentation on init.scripts|https://docs.gradle.org/current/userguide/init_scripts.html] for more details. -- This message was sent by Atlassian JIRA (v6.3.4#6332)