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 0E695EDAD for ; Wed, 27 Feb 2013 11:27:20 +0000 (UTC) Received: (qmail 2790 invoked by uid 500); 27 Feb 2013 11:27:19 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 2493 invoked by uid 500); 27 Feb 2013 11:27:18 -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 2480 invoked by uid 99); 27 Feb 2013 11:27:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 11:27:18 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.246.24.159] (HELO codehaus01.managed.contegix.com) (63.246.24.159) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 11:27:13 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id E87B3B04EC for ; Wed, 27 Feb 2013 05:26:52 -0600 (CST) Date: Wed, 27 Feb 2013 05:26:52 -0600 (CST) From: =?ISO-8859-1?Q?Jos=E9_Volmei_Dal_Pr=E1_Junior_=28JIRA=29?= To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (MEAR-168) Use build final name as default context root MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org [ https://jira.codehaus.org/browse/MEAR-168?page=3Dcom.atlassian.jira.= plugin.system.issuetabpanels:all-tabpanel ] Jos=E9 Volmei Dal Pr=E1 Junior updated MEAR-168: -------------------------------------------- Attachment: pom.xml WebModule.java I made the changes. Can anyone merge the files? Thanks. =20 > Use build final name as default context root > -------------------------------------------- > > Key: MEAR-168 > URL: https://jira.codehaus.org/browse/MEAR-168 > Project: Maven 2.x Ear Plugin > Issue Type: Bug > Affects Versions: 2.8 > Environment: all > Reporter: Jos=E9 Volmei Dal Pr=E1 Junior > Attachments: pom.xml, WebModule.java > > > Sometimes we need to make some conventions when dealing with several modu= les. We need to use the "${project.build.finalName}" as the default "contex= tRoot" mapping. > The suggestion is: make a global configuration parameter with name "mustU= seBuildFinalNameAsDefaultWebContextRoot". If this is set to true then the "= WebModule.getDefaultContextRoot" method must use the build final name as co= ntext root. > The global configuration parameter should have false as default value. > Thanks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira