Skip to content

Commit

Permalink
Downgrade the "Plugin Execution not covered by lifecycle configuration"
Browse files Browse the repository at this point in the history
error to warning #424
  • Loading branch information
mickaelistria committed Dec 8, 2021
1 parent 0c0d67c commit e13899b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ public void setGlobalChecksumPolicy(String checksumPolicy) {
@Override
public String getNotCoveredMojoExecutionSeverity() {
return preferenceStore.get(MavenPreferenceConstants.P_NOT_COVERED_MOJO_EXECUTION_PB,
ProblemSeverity.error.toString(), preferencesLookup);
ProblemSeverity.warning.toString(), preferencesLookup);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void initializeDefaultPreferences() {
store.put(MavenPreferenceConstants.P_DUP_OF_PARENT_VERSION_PB, ProblemSeverity.warning.toString());
store.put(MavenPreferenceConstants.P_OVERRIDING_MANAGED_VERSION_PB, ProblemSeverity.warning.toString());
store.put(MavenPreferenceConstants.P_OUT_OF_DATE_PROJECT_CONFIG_PB, ProblemSeverity.error.toString());
store.put(MavenPreferenceConstants.P_NOT_COVERED_MOJO_EXECUTION_PB, ProblemSeverity.error.toString());
store.put(MavenPreferenceConstants.P_NOT_COVERED_MOJO_EXECUTION_PB, ProblemSeverity.warning.toString());

// set to null since the plugin state location is not available by the time execution reaches here
store.remove(MavenPreferenceConstants.P_WORKSPACE_MAPPINGS_LOCATION);
Expand Down

0 comments on commit e13899b

Please sign in to comment.