-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Move SpotBugs Analysis to Module References #6661
Move SpotBugs Analysis to Module References #6661
Conversation
/azp run java - appconfig - ci |
Pull request contains merge conflicts. |
/azp run java - core - ci |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
/azp run java - core |
Azure Pipelines successfully started running 1 pipeline(s). |
This is good stuff, I think the more we can scope what we are running things against the better! |
Verified that running the aggregate commands on |
@mitchdenny @JimSuplizio @JonathanGiles @srnagar Could I get a review on the direction and changes made in this PR to validate that they are safe and move us in the direction we want to go with regards to our POM structuring and build. If need be I will spin off a PR which changes what maven logs during build (removes logging of maven downloading files and Javadoc parsing files) so that we can allow more verbose logging during our PR validation. |
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.
This looks like it is heading in the right direction. If we can make these processes run off the aggregates then I think we are winning and it should also reduce our build times. What is the purpose of spotbugs-aggregate-report/pom.xml
moving forward?
Moving forward |
Current issue still needing to be addressed is that previously the verification of READMEs using the @srnagar @hemanttanwar @JimSuplizio Thoughts on the fix for this issue? I am leaning towards failing the build due to a README being missed. |
I would suggest making README mandatory for every module. It's a good practice to have even if the module is for internal use only - the README can just document that it's internal. So, yes, failing the build when README is missing is my recommendation. |
@srnagar @JonathanGiles @mitchdenny Could I get a review? |
@@ -259,6 +259,7 @@ | |||
<failOnError>true</failOnError> | |||
<failOnWarnings>true</failOnWarnings> | |||
<doclint>all</doclint> | |||
<quiet>true</quiet> |
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.
For other's reference, quiet "Shuts off non-error and non-warning messages, leaving only the warnings and errors appear, making them easier to view."
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.
This looks fine to me, as long as aggregate reports are still able to be generated and the wiki is updated to represent that correct way to do these.
Fixes #6660
Moves SpotBugs reporting to use module references instead of package or source code references. Update PR validation to work at the
pom.service.xml
level instead ofpom.client.xml
.