Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2014-05-02 16:38:45 -0400
committerIgor Fedorenko2014-05-02 16:40:53 -0400
commit0f0f07df2ed247eeb53380eba3f60aa2e681909d (patch)
tree374ae8a9174fe612c584dd972183c3cd99cfee3c
parent8b7cfc032d23d8fe787d08623d7f2a92afce46eb (diff)
downloadm2e-core-0f0f07df2ed247eeb53380eba3f60aa2e681909d.tar.gz
m2e-core-0f0f07df2ed247eeb53380eba3f60aa2e681909d.tar.xz
m2e-core-0f0f07df2ed247eeb53380eba3f60aa2e681909d.zip
433224 fixed wrong local repo path in user settings preference
Change-Id: I7459915764ed20405516a9c6bf8783366a40b8c3 Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
-rw-r--r--org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/embedder/MavenImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/embedder/MavenImpl.java b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/embedder/MavenImpl.java
index a6904220..01aa6df4 100644
--- a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/embedder/MavenImpl.java
+++ b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/embedder/MavenImpl.java
@@ -482,7 +482,7 @@ public class MavenImpl implements IMaven, IMavenConfigurationChangeListener {
public Settings buildSettings(String globalSettings, String userSettings) throws CoreException {
SettingsBuildingRequest request = new DefaultSettingsBuildingRequest();
request.setGlobalSettingsFile(globalSettings != null ? new File(globalSettings) : null);
- request.setUserSettingsFile(userSettings != null ? new File(userSettings) : null);
+ request.setUserSettingsFile(userSettings != null ? new File(userSettings) : MavenCli.DEFAULT_USER_SETTINGS_FILE);
try {
return lookup(SettingsBuilder.class).build(request).getEffectiveSettings();
} catch(SettingsBuildingException ex) {

Back to the top