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] Moved: (MINVOKER-5) [maven-invoker-plugin] build.log file should not be placed inside the target/ directory
Date Mon, 18 Jun 2007 00:41:57 GMT

     [ http://jira.codehaus.org/browse/MINVOKER-5?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brett Porter moved MNG-2587 to MINVOKER-5:
------------------------------------------

    Component/s:     (was: Sandbox)
     Complexity:   (was: Intermediate)
            Key: MINVOKER-5  (was: MNG-2587)
        Project: Maven 2.x Invoker Plugin  (was: Maven 2)

> [maven-invoker-plugin] build.log file should not be placed inside the target/ directory
> ---------------------------------------------------------------------------------------
>
>                 Key: MINVOKER-5
>                 URL: http://jira.codehaus.org/browse/MINVOKER-5
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: Bug
>            Reporter: Vincent Massol
>            Assignee: Vincent Massol
>
> The invoker plugin creates the build.log file in target/. However if you have the "clean"
goal inside the goals.txt file and you're running on windows, it'll fail with:
> {noformat}
> [INFO] [INFO] ----------------------------------------------------------------------------
> [INFO] [INFO] Building Maven Clover Plugin Contexts Sample
> [INFO] [INFO]    task-segment: [clean, install]
> [INFO] [INFO] ----------------------------------------------------------------------------
> [INFO] [INFO] [clean:clean]
> [INFO] [INFO] Deleting directory C:\dev\maven\trunks\plugins\maven-clover-plugin\src\it\contexts\target
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [ERROR] BUILD ERROR
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [INFO] Failed to delete directory: C:\dev\maven\trunks\plugins\maven-clover-plugin\src\it\contexts\target.
Reason: Failed to delete file: C:\dev\maven\trunks\plugins\maven-clover-plugin\src\it\contexts\target\build.log.
Reason is unknown.
> [INFO]
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [DEBUG] Trace
> [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to delete directory:
C:\dev\maven\trunks\plugins\maven-clover-plugin\src\it\contexts\target. Reason: Failed to
delete file: C:\dev\maven\trunks\plugins\maven-clover-plugin\src\it\contexts\target\build.log.
Reason is unknown.
> {noformat}
> I propose to locate the build.log file in the main directory of the project being built.

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