maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MNG-1362) Several problems when specifying custom target dir
Date Fri, 15 Jun 2007 14:54:59 GMT

     [ 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:
>     <directory>${basedir}/target/maven</directory>
> 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:
>     <directory>${basedir}/target/maven</directory>
>     <outputDirectory>${project.build.directory}/classes</outputDirectory>
> 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

        

Mime
View raw message