geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Blum (JIRA)" <>
Subject [jira] [Created] (GEODE-26) Apache Geode 'build.gradle' inappropriately declares mavenLocal() in Repository declarations.
Date Wed, 20 May 2015 22:51:00 GMT
John Blum created GEODE-26:

             Summary: Apache Geode 'build.gradle' inappropriately declares mavenLocal() in
Repository declarations.
                 Key: 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

In the [build.gradle|]
file of the _Apache Geode_ project, the {{repositories}} declaration inappropriately contains

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

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}}

For instance, a developer can created a {{~/.gradle/init.gradle}} script to tweak "available"
Repositories, like so...

allprojects {
  repositories {
    maven { url ""}
   // etc...

See the [Gradle documentation on init.scripts|]
for more details.

This message was sent by Atlassian JIRA

View raw message