You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2006/02/17 01:15:50 UTC

[jira] Updated: (MNG-1362) Several problems when specifying custom target dir

     [ http://jira.codehaus.org/browse/MNG-1362?page=all ]

John Casey updated MNG-1362:
----------------------------

    Fix Version:     (was: 2.0.3)
                 2.0.4

> Several problems when specifying custom target dir
> --------------------------------------------------
>
>          Key: MNG-1362
>          URL: http://jira.codehaus.org/browse/MNG-1362
>      Project: Maven 2
>         Type: Bug

>     Versions: 2.0
>     Reporter: Vincent Massol
>      Fix For: 2.0.4

>
>
> 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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org