Skip to content

Commit

Permalink
NPE in Maven when no deployment server configured (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
yahavi authored Mar 1, 2022
1 parent e1bdbcd commit aa7ad48
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private void setResolverProperties(TaskContext taskContext, Maven3BuildContext b
ServerConfig overriderServerConfig = TaskUtils.getResolutionServerConfig(
buildContext.getOverriddenUsername(runtimeContext, buildInfoLog, false),
buildContext.getOverriddenPassword(runtimeContext, buildInfoLog, false),
serverConfigManager, selectedServerConfig, buildParamsOverrideManager);
serverConfigManager, resolutionServerConfig, buildParamsOverrideManager);
resolverUrl = resolutionServerConfig.getUrl();
resolverUsername = overriderServerConfig.getUsername();
resolverPassword = overriderServerConfig.getPassword();
Expand Down

0 comments on commit aa7ad48

Please sign in to comment.