Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Piggott2011-04-08 21:31:39 +0000
committerMatthew Piggott2011-04-08 21:31:39 +0000
commiteb5bc3e667dae939def561b242998133e6ca6db0 (patch)
tree16d73c3de53ea5d038e344256127b5f222fa993d /org.eclipse.m2e.core
parentcace1738a2f496eb067cd00df210e70f1eb95f48 (diff)
downloadm2e-core-eb5bc3e667dae939def561b242998133e6ca6db0.tar.gz
m2e-core-eb5bc3e667dae939def561b242998133e6ca6db0.tar.xz
m2e-core-eb5bc3e667dae939def561b242998133e6ca6db0.zip
Bug 339527 - Snapshots not downloaded nor updated
Diffstat (limited to 'org.eclipse.m2e.core')
-rw-r--r--org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/project/registry/ProjectRegistryManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/project/registry/ProjectRegistryManager.java b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/project/registry/ProjectRegistryManager.java
index cb8b1e99..18a033a0 100644
--- a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/project/registry/ProjectRegistryManager.java
+++ b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/project/registry/ProjectRegistryManager.java
@@ -512,6 +512,7 @@ public class ProjectRegistryManager {
configureExecutionRequest(mavenRequest, state, pom, resolverConfiguration);
getMaven().populateDefaults(mavenRequest);
mavenRequest.setOffline(context.getRequest().isOffline());
+ mavenRequest.setUpdateSnapshots(context.isForce(pom));
return mavenRequest;
}

Back to the top