Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 75489 invoked from network); 7 Jun 2006 09:49:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jun 2006 09:49:09 -0000 Received: (qmail 37233 invoked by uid 500); 7 Jun 2006 09:49:08 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 36889 invoked by uid 500); 7 Jun 2006 09:49:06 -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 36880 invoked by uid 99); 7 Jun 2006 09:49:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jun 2006 02:49:06 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [63.246.20.114] (HELO 63-246-20-114.contegix.com) (63.246.20.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jun 2006 02:49:05 -0700 Received: (qmail 28189 invoked by uid 89); 7 Jun 2006 09:48:44 -0000 Received: from unknown (HELO codehaus01.managed.contegix.com) (127.0.0.1) by smtp.domain.com with SMTP; 7 Jun 2006 09:48:44 -0000 Message-ID: <113820241.1149673724021.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Wed, 7 Jun 2006 04:48:44 -0500 (CDT) From: "Ovidio Mallo (JIRA)" To: issues@maven.apache.org Subject: [jira] Updated: (MNG-2347) MavenExecutionRequest.getBaseDirectory() should be propagated to the ${basedir} expression In-Reply-To: <100114600.1149672823839.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://jira.codehaus.org/browse/MNG-2347?page=all ] Ovidio Mallo updated MNG-2347: ------------------------------ Attachment: MNG-2347-maven-core.patch > MavenExecutionRequest.getBaseDirectory() should be propagated to the ${basedir} expression > ------------------------------------------------------------------------------------------ > > Key: MNG-2347 > URL: http://jira.codehaus.org/browse/MNG-2347 > Project: Maven 2 > Type: Bug > Components: General > Versions: 2.1 > Environment: Maven 2.1-SNAPSHOT > Reporter: Ovidio Mallo > Attachments: MNG-2347-maven-core.patch > > > When executing a goal given by a MavenExecutionRequest (e.g. on the MavenEmbedder) which has no POM file set (e.g. archetype:create), the MavenExecutionRequest.getBaseDirectory() is not propagated to the expression ${basedir} for the plugins to be used. > Currently, the ${basedir} is set to the directory where the POM file resides, if any is specified. Otherwise, it is simply set to the current working directory. I guess that when no POM file is given, ${basedir} should be set to the base directory set on the MavenExecutionRequest. -- 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