[Updated] (MSHARED-763) Include a dependency change detection.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Updated] (MSHARED-763) Include a dependency change detection.

JIRA jira@apache.org

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

Liwae Lamaa updated MSHARED-763:
--------------------------------
    Description:
Currently, maven incremental compilation does not detect dependency change.

Sample scenario:
 * Project A depends on Project B.
 * Project B is recompiled.
 * Project A should detect this change and recompile. (which is not the case currently)
 * If B recompilation includes changing an interface, we expect A to recompile and fail accordingly. 

A fix was already performed on *maven-compiler-plugin*, but it was never merged. 

https://issues.apache.org/jira/browse/MCOMPILER-278 

After recent discussion with [~rfscholte], he decided that the fix should rather be in *maven-shared-incremental.* I have performed the implementation for the fix in maven-shared-incremental, and I will be forking the project for that.

PS: The change include minor change in the *maven-compiler-plugin* for it to take effect.

  was:
Currently, maven incremental compilation does not detect dependency change.

Sample scenario:
 * Project A depends on Project B.
 * Project B is recompiled.
 * Project A should detect this change and recompile. (which is not the case currently)
 * If B recompilation includes changing an interface, we expect A to recompile and fail accordingly. 

A fix was already performed on *maven-compiler-plugin*, but it was never merged. 

https://issues.apache.org/jira/browse/MCOMPILER-278 

After recent discussion with [~rfscholte], he decided that the fix should rather be in *maven-shared-incremental.* I have performed the implementation for the fix in maven-shared-incremental, and I will be forking the project for that.

PS: The change include minor change in the *maven-compiler-plugin* for it to take effect. Jira issue in maven-compiler-plugin: https://issues.apache.org/jira/browse/MCOMPILER-363


> Include a dependency change detection.
> --------------------------------------
>
>                 Key: MSHARED-763
>                 URL: https://issues.apache.org/jira/browse/MSHARED-763
>             Project: Maven Shared Components
>          Issue Type: Improvement
>          Components: maven-shared-incremental
>            Reporter: Liwae Lamaa
>            Priority: Major
>
> Currently, maven incremental compilation does not detect dependency change.
> Sample scenario:
>  * Project A depends on Project B.
>  * Project B is recompiled.
>  * Project A should detect this change and recompile. (which is not the case currently)
>  * If B recompilation includes changing an interface, we expect A to recompile and fail accordingly. 
> A fix was already performed on *maven-compiler-plugin*, but it was never merged. 
> https://issues.apache.org/jira/browse/MCOMPILER-278 
> After recent discussion with [~rfscholte], he decided that the fix should rather be in *maven-shared-incremental.* I have performed the implementation for the fix in maven-shared-incremental, and I will be forking the project for that.
> PS: The change include minor change in the *maven-compiler-plugin* for it to take effect.



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