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

Silence XREF warning in Maven output #427

Merged
merged 2 commits into from
Dec 29, 2024

Conversation

MarkEWaite
Copy link
Contributor

Silence XREF warning in Maven output

The stackoverflow article describes the rationale. We don't need linked source code reports, so it is safe to globally disable linkXRef.

Testing done

Confirmed that mvn verify before this change outputs 3 messages warning about XREF and that after this change those messages are not shown.

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

https://stackoverflow.com/questions/12038238/unable-to-locate-source-xref-to-link-to
describes the rationale.  We don't need linked source code reports,
so it is safe to globally disable `linkXRef`.
@MarkEWaite MarkEWaite requested a review from a team as a code owner December 29, 2024 13:18
@MarkEWaite MarkEWaite added the chore Reduces maintenance effort by changes not directly visible to users label Dec 29, 2024
@github-actions github-actions bot added the dependencies Dependency related change label Dec 29, 2024
@MarkEWaite MarkEWaite removed the dependencies Dependency related change label Dec 29, 2024
@MarkEWaite MarkEWaite merged commit 37f738b into jenkinsci:master Dec 29, 2024
18 checks passed
@MarkEWaite MarkEWaite deleted the silence-xref-warning-from-pmd branch December 29, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Reduces maintenance effort by changes not directly visible to users
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant