Skip to content
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

"Parameter spotbugsXmlOutput is deprecated: No reason given" warning #716

Closed
basil opened this issue Mar 10, 2023 · 0 comments · Fixed by #722
Closed

"Parameter spotbugsXmlOutput is deprecated: No reason given" warning #716

basil opened this issue Mar 10, 2023 · 0 comments · Fixed by #722
Labels

Comments

@basil
Copy link
Member

basil commented Mar 10, 2023

Jenkins and plugins versions report

Apache Maven 3.9.0
Java version: 11.0.18, vendor: Ubuntu

What Operating System are you using (both controller, and any agents involved in the problem)?

Ubuntu 22.04.2 LTS x86_64

Reproduction steps

Run mvn clean verify in a consumer of this component.

Expected Results

Note: These are the actual results with #700 reverted.

There are no SpotBugs warnings:

[INFO] >>> spotbugs:4.7.3.0:check (spotbugs) > :spotbugs >>>
[INFO] --- spotbugs:4.7.3.0:spotbugs (spotbugs) ---
[INFO] Fork Value is true
[INFO] Done SpotBugs Analysis....
[INFO] <<< spotbugs:4.7.3.0:check (spotbugs) < :spotbugs <<<
[INFO] --- spotbugs:4.7.3.0:check (spotbugs) ---
[INFO] BugInstance size is 0
[INFO] Error size is 0
[INFO] No errors/warnings found

Actual Results

A "Parameter spotbugsXmlOutput is deprecated: No reason given" warning is logged:

[INFO] --- spotbugs:4.7.3.2:spotbugs (spotbugs) ---
[WARNING] Parameter 'spotbugsXmlOutput' is deprecated: No reason given
[INFO] <<< spotbugs:4.7.3.2:check (spotbugs) < :spotbugs <<<
[INFO] --- spotbugs:4.7.3.2:check (spotbugs) ---
[WARNING] Parameter 'spotbugsXmlOutput' is deprecated: No reason given

Anything else?

Caused by #700.

@basil basil added the bug label Mar 10, 2023
MarkEWaite added a commit to MarkEWaite/plugin-pom that referenced this issue Mar 16, 2023
https://spotbugs.github.io/spotbugs-maven-plugin/spotbugs-mojo.html
says that it is deprecated and gives no reason for the deprecation.
Since the value was faluse, it seems safe to remove the setting.

Fixes jenkinsci#716

jenkinsci#716 is the issue report.
MarkEWaite added a commit to MarkEWaite/pom that referenced this issue Mar 17, 2023
https://spotbugs.github.io/spotbugs-maven-plugin/spotbugs-mojo.html
says that it is deprecated and gives no reason for the deprecation.
Since the value was false, it seems safe to remove the setting.

Fixes jenkinsci/plugin-pom#716

	jenkinsci/plugin-pom#722 is the matching pull
request in the plugin pom.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant