You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Zav'yalov (JIRA)" <ji...@apache.org> on 2016/10/28 10:22:58 UTC

[jira] [Updated] (MCOMPILER-278) Incremental build does not track inter-module dependencies.

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

Michael Zav'yalov updated MCOMPILER-278:
----------------------------------------
    Attachment: maven-compiler-checksum.patch

Patch for maven-compiler-plugin:3.1

> Incremental build does not track inter-module dependencies.
> -----------------------------------------------------------
>
>                 Key: MCOMPILER-278
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-278
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Michael Zav'yalov
>         Attachments: maven-compiler-checksum.patch
>
>
> When useIncrementalCompilation=true the plugin actually assumes that this incremental compilation is supported by compiler itself (I state it because of all source files are always sent to compiler).
> But plugin provides an additional optimization - it can detect that there are no changes at all, so calling compiler can be skipped. It is especially critical for javac that does not support incremental build since 1.3.
> Unfortunately, plugin ignores claspath dependencies that are not directory, i.e. - jars, so when dependent jar is modified (in incompatible way) - our project is not re-compiled.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)