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 BDBA118581 for ; Tue, 2 Jun 2015 01:39:28 +0000 (UTC) Received: (qmail 12698 invoked by uid 500); 2 Jun 2015 01:39:28 -0000 Delivered-To: apmail-geode-issues-archive@geode.apache.org Received: (qmail 12664 invoked by uid 500); 2 Jun 2015 01:39:28 -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 12654 invoked by uid 99); 2 Jun 2015 01:39:28 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jun 2015 01:39:28 +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 20F25C0DFB for ; Tue, 2 Jun 2015 01:39:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.991 X-Spam-Level: X-Spam-Status: No, score=0.991 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id BpwepS5eTMeC for ; Tue, 2 Jun 2015 01:39:19 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id 49776428E3 for ; Tue, 2 Jun 2015 01:39:19 +0000 (UTC) Received: (qmail 12643 invoked by uid 99); 2 Jun 2015 01:39:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jun 2015 01:39:18 +0000 Date: Tue, 2 Jun 2015 01:39:18 +0000 (UTC) From: "John Blum (JIRA)" To: issues@geode.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GEODE-27) ApacheGeode POM file(s) are incorrect! 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-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14568364#comment-14568364 ] John Blum commented on GEODE-27: -------------------------------- In order to get _Spring Data GemFire_ to compile, test, and run with _Apache Geode_ Maven artifacts (JAR and POM files), I need to manually create and supply my own Maven POM files for _Geode's_ various modules (e.g. gemfire-core). I have attached each *+required+* POM file for the individual _Apache Geode_ modules, respectively. > ApacheGeode POM file(s) are incorrect! > -------------------------------------- > > Key: GEODE-27 > URL: https://issues.apache.org/jira/browse/GEODE-27 > Project: Geode > Issue Type: Bug > Components: build, general > Affects Versions: 1.0.0-incubating > Environment: Apache Geode in Maven or Gradle-based applications. > Reporter: John Blum > Assignee: Mark Bretl > Priority: Critical > Labels: ApacheGeode, Maven, POM > Attachments: gemfire-8.2.0.pom > > > This JIRA is a followup to [GEODE-23] to note the additional issues that are considered ["out-of-scope"|http://mail-archives.apache.org/mod_mbox/incubator-geode-dev/201505.mbox/ajax/%3CCA%2BULb%2Btfm4LyjwMaB_B7j8WaBNoAYj1%2BkeZSW-pqv0Gdbq2T8g%40mail.gmail.com%3E] for [GEODE-23], yet need to be fixed, none-the-less. > Specifically, the changes include... > 1. The {{}} declarations need to be cleaned up (reduced). Technically, _Apache Geode_ should only require... > {code:xml} > > > gemstone-release > GemStone Maven RELEASE Repository > http://dist.gemstone.com/maven/release > > true > always > > > > libs-release > Spring Maven libs-release Repository > http://repo.spring.io/libs-release > > > {code} > For instance, the "obscure" *jline-1.0.S2-B.jar* dependency is "resolvable" from, for instance... > http://repo.spring.io/libs-release/net/sourceforge/jline/jline/1.0.S2-B/jline-1.0.S2-B.jar > NOTE: by default, and unlike Gradle, Maven searches "Maven Central". > 2. Add proper "scopes", "optional" settings and "exclusions" to the > dependencies declared in the POM. > 3. Many of the "explicitly" declared dependencies (e.g. spring-beans) need > to be removed; Maven will resolve dependencies transitively. > As an example, _Apache Geode's_ Maven POM file should be very similar to the {{Pivotal GemFire}} Maven POM file, as recently updated and validated for *GemFire 8.2* (see attached {{gemfire-8.2.0.pom}} file for further details and reference). This is particularly important where _Apache Geode_ and _Pivotal GemFire_ intersect. > There maybe other issues with the POM file that need to be included within the "scope" of this +bug+ as well and should be included as such, otherwise this JIRA should *+not+* be marked "complete". -- This message was sent by Atlassian JIRA (v6.3.4#6332)