diff options
author | Igor Fedorenko | 2012-11-29 23:30:17 +0000 |
---|---|---|
committer | Igor Fedorenko | 2012-11-30 03:10:59 +0000 |
commit | 38f6b83cf3bb54e94ceddeea2233be39f910cc2c (patch) | |
tree | 8f2164452c184b6036474e4ab05dddf11eea5bc8 /org.eclipse.m2e.core | |
parent | fc5b049d77da08ef617ed27a6bc574e8c1ae8182 (diff) | |
download | m2e-core-38f6b83cf3bb54e94ceddeea2233be39f910cc2c.tar.gz m2e-core-38f6b83cf3bb54e94ceddeea2233be39f910cc2c.tar.xz m2e-core-38f6b83cf3bb54e94ceddeea2233be39f910cc2c.zip |
395433 changed default <runOnIncremental> to false
In order to make m2e less prone to endless workspace builds,
<execute/> lifecycle mapping will only run on full/clean builds by
default. Explicit runOnIncremental=true is required to execute
mapped plugin execution during incremental workspace build.
Existing projects and maven plugins that correctly use old default
baviour will need to be updated... which is not nice, but I think
this is justified by improved overall m2e stability. We should have
made this change in 1.0.100...
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Diffstat (limited to 'org.eclipse.m2e.core')
-rw-r--r-- | org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/lifecyclemapping/LifecycleMappingFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/lifecyclemapping/LifecycleMappingFactory.java b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/lifecyclemapping/LifecycleMappingFactory.java index f3c405fa..c4c78dde 100644 --- a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/lifecyclemapping/LifecycleMappingFactory.java +++ b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/lifecyclemapping/LifecycleMappingFactory.java @@ -837,7 +837,7 @@ public class LifecycleMappingFactory { public static MojoExecutionBuildParticipant createMojoExecutionBuildParicipant(IMavenProjectFacade projectFacade, MojoExecution mojoExecution, IPluginExecutionMetadata executionMetadata) { - boolean runOnIncremental = true; + boolean runOnIncremental = false; boolean runOnConfiguration = false; Xpp3Dom child = ((PluginExecutionMetadata) executionMetadata).getConfiguration().getChild( ELEMENT_RUN_ON_INCREMENTAL); |