You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2018/07/21 16:09:00 UTC

[jira] [Commented] (MCOMPILER-333) Incremental compilation causes "mvn clean compile compile" to fail

    [ https://issues.apache.org/jira/browse/MCOMPILER-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16551752#comment-16551752 ] 

Karl Heinz Marbaise commented on MCOMPILER-333:
-----------------------------------------------

Do you have an example project for this?

> 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
>            Priority: Major
>
> 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
(v7.6.3#76005)