Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Bricon2018-01-14 12:10:22 -0500
committerFred Bricon2018-01-19 09:44:56 -0500
commit572a4db7f0a4782df8191a3719eeaa8d688de702 (patch)
tree2de0fee729ab565e4cbb0d6283a653d415bb0d66 /org.eclipse.m2e.core
parenta1df29e32218c8dbc6df88703c930f3f702676f6 (diff)
downloadm2e-core-572a4db7f0a4782df8191a3719eeaa8d688de702.tar.gz
m2e-core-572a4db7f0a4782df8191a3719eeaa8d688de702.tar.xz
m2e-core-572a4db7f0a4782df8191a3719eeaa8d688de702.zip
501553: download Javadoc when sources are missing
Change-Id: Ib99bbcdd4c552c769a28da616502b35c68a54910 Signed-off-by: Fred Bricon <fbricon@gmail.com>
Diffstat (limited to 'org.eclipse.m2e.core')
-rw-r--r--org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/preferences/MavenConfigurationImpl.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/preferences/MavenConfigurationImpl.java b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/preferences/MavenConfigurationImpl.java
index 79fa263e..f6db5c01 100644
--- a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/preferences/MavenConfigurationImpl.java
+++ b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/preferences/MavenConfigurationImpl.java
@@ -116,6 +116,10 @@ public class MavenConfigurationImpl implements IMavenConfiguration, IPreferenceC
preferencesLookup[0].putBoolean(MavenPreferenceConstants.P_DOWNLOAD_SOURCES, downloadSources);
}
+ public void setDownloadJavadoc(boolean downloadJavadoc) {
+ preferencesLookup[0].putBoolean(MavenPreferenceConstants.P_DOWNLOAD_JAVADOC, downloadJavadoc);
+ }
+
public boolean isHideFoldersOfNestedProjects() {
return Boolean.parseBoolean(preferenceStore.get(MavenPreferenceConstants.P_HIDE_FOLDERS_OF_NESTED_PROJECTS, null,
preferencesLookup));

Back to the top