Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael Istria2016-09-14 03:45:56 -0400
committerFred Bricon2016-11-20 12:21:29 -0500
commite259783a7484bacb251a80081e5112b8847165f8 (patch)
tree772727c703fb51b12df6bcf41c2f172a2d950c78 /org.eclipse.m2e.core
parenta084af349d44c4d9a9f1fe1d34b1dc61c4cd6c19 (diff)
downloadm2e-core-e259783a7484bacb251a80081e5112b8847165f8.tar.gz
m2e-core-e259783a7484bacb251a80081e5112b8847165f8.tar.xz
m2e-core-e259783a7484bacb251a80081e5112b8847165f8.zip
Bug 500552 - Automatic download of src/javadoc run after project config
Run automatic download of sources/javadocs after project configuration rather than in parallel with "regular" dependency resolution. So downloading src/javadoc doesn't slow down download of regular jars. Make source/javadoc downloaded by default as they have now no time cost for user to get regular classpath resolution. + Added better progress reporting in the downloadSourcesJob. Change-Id: I18bf42d678cea07c8242280889358f96776f64e6 Signed-off-by: Mickael Istria <mistria@redhat.com>
Diffstat (limited to 'org.eclipse.m2e.core')
-rw-r--r--org.eclipse.m2e.core/META-INF/MANIFEST.MF2
-rw-r--r--org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/preferences/MavenPreferenceInitializer.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.m2e.core/META-INF/MANIFEST.MF b/org.eclipse.m2e.core/META-INF/MANIFEST.MF
index 30d2df30..bbb25061 100644
--- a/org.eclipse.m2e.core/META-INF/MANIFEST.MF
+++ b/org.eclipse.m2e.core/META-INF/MANIFEST.MF
@@ -11,7 +11,7 @@ Require-Bundle: org.eclipse.osgi;bundle-version="3.10.0",
org.eclipse.m2e.archetype.common;bundle-version="[1.8.0,1.9.0)",
org.eclipse.m2e.maven.indexer;bundle-version="[1.8.0,1.9.0)",
org.eclipse.m2e.workspace.cli;bundle-version="0.1.0",
- org.eclipse.core.runtime;bundle-version="3.7.0",
+ org.eclipse.core.runtime;bundle-version="3.12.0",
org.eclipse.core.resources;bundle-version="3.9.0",
com.google.guava;bundle-version="[14.0.1,16.0.0)"
Bundle-ActivationPolicy: lazy
diff --git a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/preferences/MavenPreferenceInitializer.java b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/preferences/MavenPreferenceInitializer.java
index 80688dc3..223395c7 100644
--- a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/preferences/MavenPreferenceInitializer.java
+++ b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/preferences/MavenPreferenceInitializer.java
@@ -34,7 +34,7 @@ public class MavenPreferenceInitializer extends AbstractPreferenceInitializer {
store.putBoolean(MavenPreferenceConstants.P_OFFLINE, false);
store.putBoolean(MavenPreferenceConstants.P_GLOBAL_UPDATE_NEVER, true);
- store.putBoolean(MavenPreferenceConstants.P_DOWNLOAD_SOURCES, false);
+ store.putBoolean(MavenPreferenceConstants.P_DOWNLOAD_SOURCES, true);
store.putBoolean(MavenPreferenceConstants.P_DOWNLOAD_JAVADOC, false);
store.put(MavenPreferenceConstants.P_OUTPUT_FOLDER, "target-eclipse"); //$NON-NLS-1$

Back to the top