-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lower severity of m2e's 'Project configuration is not up-to-date...' diagnostics #774
Conversation
String message = marker.getAttribute(IMarker.MESSAGE, ""); | ||
if (message != null && message.startsWith("Project configuration is not up-to-date with pom.xml.")) { | ||
message = "Project configuration is not up-to-date with pom.xml, requires an update."; | ||
d.setSeverity(DiagnosticSeverity.Warning); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No the severity change should be at the m2e preferences level, or else the build command will continue to fail if such an error is reported. See microsoft/vscode-java-debug#358
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have updated the PR.
@@ -148,6 +151,12 @@ public void start(BundleContext bundleContext) throws Exception { | |||
contentProviderManager = new ContentProviderManager(preferenceManager); | |||
logInfo(getClass() + " is started"); | |||
configureProxy(); | |||
configureMavenPreferences(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be moved to the preferences manager
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
initializeJDTOptions should be removed BTW, since it's covered by PreferenceManager.initialize()
configureMavenPreferences(); | ||
} | ||
|
||
private void configureMavenPreferences() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have removed it.
…diagnostics Signed-off-by: Snjezana Peco <[email protected]>
test this please |
Fixes #763
Signed-off-by: Snjezana Peco [email protected]