From issues-return-35630-apmail-maven-issues-archive=maven.apache.org@maven.apache.org Wed Jan 30 18:45:29 2008 Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 85522 invoked from network); 30 Jan 2008 18:45:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jan 2008 18:45:29 -0000 Received: (qmail 49470 invoked by uid 500); 30 Jan 2008 18:45:19 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 49411 invoked by uid 500); 30 Jan 2008 18:45:19 -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 49398 invoked by uid 99); 30 Jan 2008 18:45:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2008 10:45:19 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2008 18:45:05 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id D2D9D14A8048 for ; Wed, 30 Jan 2008 12:44:57 -0600 (CST) Message-ID: <22552407.1201718697861.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Wed, 30 Jan 2008 12:44:57 -0600 (CST) From: "Paul Gier (JIRA)" To: issues@maven.apache.org Subject: [jira] Commented: (MASSEMBLY-278) Do not fail on missing descriptors In-Reply-To: <27072275.1201712577949.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/MASSEMBLY-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_121785 ] Paul Gier commented on MASSEMBLY-278: ------------------------------------- A quick question about your use case. Do you configure the parent pom with a list of several assembly descriptors and then want the child projects to just use the descriptors that they find from the list? Another option would be to configure the descriptorSourceDirectory in the parent, and then each child will use the descriptors in it's own src path. > Do not fail on missing descriptors > ---------------------------------- > > Key: MASSEMBLY-278 > URL: http://jira.codehaus.org/browse/MASSEMBLY-278 > Project: Maven 2.x Assembly Plugin > Issue Type: Improvement > Affects Versions: 2.2-beta-1 > Reporter: Sejal Patel > > Assembly requires too much boilerplate right now to be used in a reactor based project because of the way it fails out if no descriptors are found. I suggest adding a boolean parameter (probably ignoreMissingDescriptors) which can default to false for backwards compatability but when set to true, does nothing if no descriptors are found. > Then in org.apache.maven.plugin.assembly.io.DefaultAssemblyReader line 131 add the check for that new parameter so that it only fails out if it was configured to fail out. Otherwise it just goes about its business of assembly nothing (which seems like a perfectly reasonable logic as well). > By doing these things, it makes it possible to configure the assembly plugin 1 time in a parent pom and then not have to configure it in several (in my case 11 out of 19) different modules again and again. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira