maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Heinz Marbaise (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MCOMPILER-333) Incremental compilation causes "mvn clean compile compile" to fail
Date Sat, 21 Jul 2018 16:09:00 GMT

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

Mime
View raw message