You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "slachiewicz (via GitHub)" <gi...@apache.org> on 2026/09/19 16:39:02 UTC

[PR] Send an identifying User-Agent on HTTP requests [maven-project-info-reports-plugin]

slachiewicz opened a new pull request, #659:
URL: https://github.com/apache/maven-project-info-reports-plugin/pull/659

   Every URL the plugin fetches (license texts, mailing-list archives) now carries `User-Agent: maven-project-info-reports-plugin/<version> (+https://maven.apache.org/plugins/maven-project-info-reports-plugin/)` instead of the JDK default `Java/<version>`, so site operators can identify the traffic and find this project. Addresses the first ask in #586; the caching question there stays open.
   
   The version comes from the plugin's own `pom.properties` on the classpath and falls back to `unknown`.
   
   Verified: `mvn verify -Dtest=ProjectInfoReportUtilsTest` under JDK 21 → 3 tests pass.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Send an identifying User-Agent on HTTP requests [maven-project-info-reports-plugin]

Posted by "slachiewicz (via GitHub)" <gi...@apache.org>.
slachiewicz merged PR #659:
URL: https://github.com/apache/maven-project-info-reports-plugin/pull/659


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org