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

package-info.class cause "org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar" failure since 2.59.0 #473

Closed
asdf913 opened this issue Apr 2, 2022 · 8 comments
Assignees

Comments

@asdf913
Copy link

asdf913 commented Apr 2, 2022

org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar raise below ERROR message.
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar (default-cli) on project ****-*******-******: Can not execute Findbugs: java.lang.AssertionError: Can't find ClassInfo for com\gargoylesoftware\htmlunit\package-info

image

@rbri
Copy link
Member

rbri commented Apr 2, 2022

Please switch to 2.60.0 this is (hopefully) already fixed.

@asdf913
Copy link
Author

asdf913 commented Apr 3, 2022

There are package-info.class in htmlunit 2.60.0
image

@rbri
Copy link
Member

rbri commented Apr 3, 2022

Strange - my guess was this is related to #457.

@rbri
Copy link
Member

rbri commented Apr 5, 2022

From the Mavan PR apache/maven-compiler-plugin#88

This option is turned on by default because the generated class files are valid, so they should not cause any problem.

Can you please verify that the version 2.60.0 still causes problems with sonarsource.scanner - yes i know that the files are still available in 2.60.0 but they are now correct java files and should not harm.

@rbri rbri self-assigned this Apr 5, 2022
@asdf913
Copy link
Author

asdf913 commented Apr 6, 2022

From the Mavan PR apache/maven-compiler-plugin#88

This option is turned on by default because the generated class files are valid, so they should not cause any problem.

Can you please verify that the version 2.60.0 still causes problems with sonarsource.scanner - yes i know that the files are still available in 2.60.0 but they are now correct java files and should not harm.

It is verified that sonarsource.scanner could run property for htmlunit 2.60.0.

@rbri
Copy link
Member

rbri commented Apr 6, 2022

@asdf913 means i can close this?

@asdf913
Copy link
Author

asdf913 commented Apr 6, 2022

@asdf913 means i can close this?
Yes

@rbri
Copy link
Member

rbri commented Apr 6, 2022

Thanks for the feedback, enjoy using HtmlUnit

@rbri rbri closed this as completed Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants