From issues-return-85849-apmail-maven-issues-archive=maven.apache.org@maven.apache.org Tue Jun 25 23:58:21 2013 Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-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 8B2F41064F for ; Tue, 25 Jun 2013 23:58:21 +0000 (UTC) Received: (qmail 69987 invoked by uid 500); 25 Jun 2013 23:58:21 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 69946 invoked by uid 500); 25 Jun 2013 23:58:21 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 69811 invoked by uid 99); 25 Jun 2013 23:58:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jun 2013 23:58:21 +0000 Date: Tue, 25 Jun 2013 23:58:21 +0000 (UTC) From: "Brett Porter (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (MPOM-45) RPM Plugin does not check if rpm-build is installed prior to attempting to build RPMs 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/MPOM-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brett Porter closed MPOM-45. ---------------------------- Resolution: Invalid Sorry, you'll need to file this at https://jira.codehaus.org/browse/MRPM. Thanks! > RPM Plugin does not check if rpm-build is installed prior to attempting to build RPMs > ------------------------------------------------------------------------------------- > > Key: MPOM-45 > URL: https://issues.apache.org/jira/browse/MPOM-45 > Project: Maven POMs > Issue Type: Improvement > Components: maven-plugins > Reporter: Andres Danter > Priority: Minor > > This is something I recently ran into. The package for rpm-build was not installed on the system. The MAVEN RPM plugin did not give a very good verbose reason for why the RPM build failed. Currently, it echoes the string of commands it tried to run: > [ERROR] Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.0-beta-2:rpm (default-cli) on project accumulo: RPM build execution returned: '127' executing '/bin/sh -c cd /home/user/accumulo/accumulo-1.4.3/target/rpm/SPECS && rpmbuild -bb --buildroot /home/user/accumulo/accumulo-1.4.3/target/rpm/buildroot --define '_topdir /home/user/accumulo/accumulo-1.4.3/target/rpm' --target amd64 accumulo.spec' > A check of the availability of rpm-build prior to executing the above would have prevented some confusion. > Thanks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira