Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 73D4F10F4A for ; Wed, 15 Jan 2014 19:45:10 +0000 (UTC) Received: (qmail 61269 invoked by uid 500); 15 Jan 2014 19:44:50 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 61110 invoked by uid 500); 15 Jan 2014 19:44:45 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 60974 invoked by uid 99); 15 Jan 2014 19:44:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jan 2014 19:44:42 +0000 Date: Wed, 15 Jan 2014 19:44:42 +0000 (UTC) From: "Christopher Tubbs (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2197) Building RPMs requires thrift profile to be active 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/ACCUMULO-2197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13872507#comment-13872507 ] Christopher Tubbs commented on ACCUMULO-2197: --------------------------------------------- I'm not a fan of version-controlling generated code. We've previously discussed removing the option of removing the existing generated code from version control. However, I don't think it's a problem that one maven profile requires another one. Unfortunately, there's no good way to auto-activate one via another, so you just have to specify both. But I don't think this is a bug... I don't see it as an issue at all. > Building RPMs requires thrift profile to be active > -------------------------------------------------- > > Key: ACCUMULO-2197 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2197 > Project: Accumulo > Issue Type: Bug > Components: build > Affects Versions: 1.5.0 > Reporter: Josh Elser > Assignee: Josh Elser > Fix For: 1.5.1, 1.6.0 > > > The generated sources (cpp, rb, py) for the proxy are only generated when the thrift maven profile is activated. An RPM assembly expects these files to be present. Thus, the following fails: > {code} > mvn package -Passemble,rpm -DskipTests > {code} > We should probably just include the gen-* variants under src/generated (or similar), commit them to the repository, and let the thrift profile regenerate those files as necessary. -- This message was sent by Atlassian JIRA (v6.1.5#6160)