Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 11701 invoked from network); 15 Jun 2007 14:55:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jun 2007 14:55:24 -0000 Received: (qmail 59437 invoked by uid 500); 15 Jun 2007 14:55:26 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 59392 invoked by uid 500); 15 Jun 2007 14:55:26 -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 59374 invoked by uid 99); 15 Jun 2007 14:55:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2007 07:55:26 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.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; Fri, 15 Jun 2007 07:55:19 -0700 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 09C4D14A803E for ; Fri, 15 Jun 2007 09:54:59 -0500 (CDT) Message-ID: <11183002.1181919299037.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Fri, 15 Jun 2007 09:54:59 -0500 (CDT) From: "Brett Porter (JIRA)" To: issues@maven.apache.org Subject: [jira] Updated: (MNG-1362) Several problems when specifying custom target dir 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/MNG-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brett Porter updated MNG-1362: ------------------------------ Component/s: Inheritance and Interpolation > Several problems when specifying custom target dir > -------------------------------------------------- > > Key: MNG-1362 > URL: http://jira.codehaus.org/browse/MNG-1362 > Project: Maven 2 > Issue Type: Bug > Components: Inheritance and Interpolation > Affects Versions: 2.0 > Reporter: Vincent Massol > Fix For: 2.0.x > > > I'd like to change my target dir to be target/maven instead of target/ > First problem: > =========== > If I add the following to my pom.xml: > ${basedir}/target/maven > Then the compiled classes still go to target/classes and not to target/maven/classes. > Second problem: > ============== > If I add the following to my pom.xml: > ${basedir}/target/maven > ${project.build.directory}/classes > Then the compiler fails to compile classe: > [INFO] [compiler:compile] > Compiling 10 source files to C:\dev\cargo\trunk\core\util\C:\dev\cargo\trunk\core\util\target\maven\classes > [INFO] ---------------------------------------------------------------------------- > [ERROR] BUILD FAILURE > [INFO] ---------------------------------------------------------------------------- > [INFO] Compilation failure > C:\dev\cargo\trunk\core\util\src\main\java\org\codehaus\cargo\util\monitor\NullMonitor.java:[27,7] error while writing org.codehau > s.cargo.util.monitor.NullMonitor: C:\dev\cargo\trunk\core\util\C:\dev\cargo\trunk\core\util\target\maven\classes\org\codehaus\carg > o\util\monitor\NullMonitor.class (The filename, directory name, or volume label syntax is incorrect) -- 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