maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Vanelverdinghe (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MCOMPILER-333) Incremental compilation causes "mvn clean compile compile" to fail
Date Sun, 25 Mar 2018 06:44:00 GMT
Anthony Vanelverdinghe created MCOMPILER-333:
------------------------------------------------

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


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