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/23 20:30:00 UTC

[jira] [Commented] (MCOMPILER-349) maven-compiler-plugin does not recompile a module if a dependency module has been updated & recompiled

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

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

Can you please create an example project and attach this to this issue...

> maven-compiler-plugin does not recompile a module if a dependency module has been updated & recompiled
> ------------------------------------------------------------------------------------------------------
>
>                 Key: MCOMPILER-349
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-349
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>            Reporter: Ahmet Bolac
>            Priority: Major
>
> We have two modules A and B, where A depends on B. When running an incremental build, we observe that if the sources of A has not changed, but sources of B has been changed, module B gets recompiled as expected, but then module A is considered up-to-date and not recompiled. If there are any breaking changes in module B, we would expect A to fail compilation but it does not happen when running an incremental build. We only see A recompile after a clean. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)