From issues-return-34994-apmail-maven-issues-archive=maven.apache.org@maven.apache.org Mon Jan 14 22:11:29 2008 Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 52194 invoked from network); 14 Jan 2008 22:11:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jan 2008 22:11:29 -0000 Received: (qmail 17356 invoked by uid 500); 14 Jan 2008 22:11:18 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 17313 invoked by uid 500); 14 Jan 2008 22:11: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 17302 invoked by uid 99); 14 Jan 2008 22:11:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2008 14:11:18 -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; Mon, 14 Jan 2008 22:11:05 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 6B9951620005 for ; Mon, 14 Jan 2008 16:10:57 -0600 (CST) Message-ID: <19413251.1200348657434.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Mon, 14 Jan 2008 16:10:57 -0600 (CST) From: "Benjamin Bentmann (JIRA)" To: issues@maven.apache.org Subject: [jira] Commented: (MRESOURCES-52) Change type of plugin parameter "outputDirectory" to java.io.File In-Reply-To: <4843707.1199921400209.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/MRESOURCES-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_119887 ] Benjamin Bentmann commented on MRESOURCES-52: --------------------------------------------- There will not be any noticable changes for the end-user regarding plugin configuration. For example, I tested the patch with the same test POM, no changes were required. It's all strings in the XML configuration, whether this is pushed into a File or a String is transparent to the user. That's similar to plugin parameters of type Array or Collection which - from the perspective of the POM - cannot be distinguished. > Change type of plugin parameter "outputDirectory" to java.io.File > ----------------------------------------------------------------- > > Key: MRESOURCES-52 > URL: http://jira.codehaus.org/browse/MRESOURCES-52 > Project: Maven 2.x Resources Plugin > Issue Type: Bug > Affects Versions: 2.2 > Reporter: Benjamin Bentmann > Assignee: Milos Kleint > Fix For: 2.3 > > Attachments: output-directory.patch, resources.zip > > > As described by MNG-3273, using java.lang.String for path parameters is discouraged as it usually leads to relative paths being resolved against the current working directory instead of the project's base directory. This bug manifest itselfs when a user explicitly configures the maven-resources-plugin with a relative output directory and then runs the build from a different working directory (for example, the base directory of an aggregator parent). -- 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