[ 
https://issues.apache.org/jira/browse/MCOMPILER-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Lamy closed MCOMPILER-333.
----------------------------------
    Resolution: Fixed

> Incremental compilation causes "mvn clean compile compile" to fail
> ------------------------------------------------------------------
>
>                 Key: MCOMPILER-333
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-333
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.7.0
>            Reporter: Anthony Vanelverdinghe
>            Assignee: Olivier Lamy
>            Priority: Major
>             Fix For: 3.12.0
>
>
> With <useIncrementalCompilation>true</useIncrementalCompilation>, my build 
> fails if I do "mvn clean compile compile". From theĀ 
> [comment|https://issues.apache.org/jira/browse/MCOMPILER-205?focusedCommentId=16390065&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16390065]
>  in MCOMPILER-205, I understand that incremental compilation deletes the 
> "classes" directory. But it seems that it doesn't delete the 
> "generated-sources" directory.
> When I do "mvn clean compile" and "mvn compile", the second build fails. 
> However, if I delete the "generated-sources" directory between the 2 builds, 
> they both succeed.
> So I guess the bug here is that incremental compilation doesn't delete the 
> "generated-sources" directory.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to