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

Doroszlai, Attila updated AMBARI-18361:
---------------------------------------
    Attachment: AMBARI-18361.patch

> All classes recompiled due to Maven bug, even if none changed
> -------------------------------------------------------------
>
>                 Key: AMBARI-18361
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18361
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Doroszlai, Attila
>            Assignee: Doroszlai, Attila
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-18361.patch
>
>
> maven-compiler-plugin version 3.0 has a 
> [bug|https://issues.apache.org/jira/browse/MCOMPILER-187] that causes all 
> classes to be recompiled even if no classes have changed.
> {noformat}
> [INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ 
> ambari-server ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 1720 source files ...
> ...
> [INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ 
> ambari-server ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 760 source files ...
> {noformat}
> version 3.1+ has [another, related 
> bug|https://issues.apache.org/jira/browse/MCOMPILER-209] that causes all 
> classes to be compiled even if only one has changed, although it seems to 
> correctly detect the "no change" case.
> {noformat}
> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ 
> ambari-server ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 1720 source files ...
> {noformat}



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

Reply via email to