Fix empty list-branches mojo

Github has changed the branches page and the existing code no longer
works [1].

Without specifying an Accept header, Github responds with JSON text.

An alternative explored was to use the existing dependency github-api, but
this breaks easily on the existing rate limits for GitHub REST API, where
the primary rate limit for unauthenticated requests is 60 requests per
hour [2].

[1] https://github.blog/changelog/2023-12-06-updates-to-repository-pages/
[2] https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api
2 files changed
tree: 5d9f3bcfc32852b0dae94381f9782431f88b5024
  1. .github/
  2. src/
  3. .asf.yaml
  4. .gitignore
  5. Jenkinsfile
  6. NOTICE.txt
  7. pom.xml
  8. README.md
README.md

Apache Maven Distribution Tool Plugin

ASF Jira Apache License, Version 2.0, January 2004 Jenkins Status

Maven Distribution Tool plugin is a tool executed daily on Maven CI server to produce a report of the different checks done on our releases.

Quick Build

mvn verify site