[
https://jira.codehaus.org/browse/MNG-5508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jigar Joshi updated MNG-5508:
-----------------------------
Description:
Background:
we are using maven build to build around 200 project tree, change in one single
module costs building whole tree, to avoid it we switched to incremental build
and I wrote a plugin that will periodically do full clean build after
configurable period of time
Issue:
maven-compiler-plugin supports incremental compilation and only compiles the
source that was modified that is nice feature, however it is not quite working
well in following cases
- if there is a change in pom.xml (for example:change in dependency scope), it
doesn't detect it as change and doesn't recompile that and all effecting
projects
{{org.apache.maven.plugin.compiler.AbstractCompilerMojo.isDependencyChanged()}}
should cover it
Verified this on revision {{1495788}}
was:
Background:
we are using maven build to build around 200 project tree, change in one single
module costs building whole tree, to avoid it we switched to incremental build
and I wrote a plugin that will periodically do full clean build after
configurable period of time
Issue:
maven-compiler-plugin supports incremental compilation and only compiles the
source that was modified that is nice feature, however it is not quite working
well in following cases
- if there is a change in pom.xml (for example:change in dependency scope), it
doesn't detect it as change and doesn't recompile that and all effecting
projects
Verified this on revision {{1495788}}
> maven compiler plugin doesn't detect change in pom.xml
> ------------------------------------------------------
>
> Key: MNG-5508
> URL: https://jira.codehaus.org/browse/MNG-5508
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Bootstrap & Build, Performance, Plugins and Lifecycle
> Affects Versions: 3.1.0
> Environment: any
> Reporter: Jigar Joshi
> Priority: Minor
>
> Background:
> we are using maven build to build around 200 project tree, change in one
> single module costs building whole tree, to avoid it we switched to
> incremental build and I wrote a plugin that will periodically do full clean
> build after configurable period of time
> Issue:
> maven-compiler-plugin supports incremental compilation and only compiles the
> source that was modified that is nice feature, however it is not quite
> working well in following cases
> - if there is a change in pom.xml (for example:change in dependency scope),
> it doesn't detect it as change and doesn't recompile that and all effecting
> projects
> {{org.apache.maven.plugin.compiler.AbstractCompilerMojo.isDependencyChanged()}}
> should cover it
> Verified this on revision {{1495788}}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira