cstamas commented on PR #14173:
URL: https://github.com/apache/maven/pull/14173#issuecomment-7277294019

   Personally:
   * I would not backport any more Maven 4 features to Maven 3.10
   * we do not force anyone to switch, we just provide a semantically clearer 
way to set up tokens; this PR does not alter HTTP headers in any way
   * Romain proposal is the breaking one IMO, as headers can go "anywhere" 
(markers use case) while now you want to limit tokens to origin only
   * httpHeaders were never ever meant for what you imply Romain. Here is 
original blog from Brett announcing them 
https://brettporter.wordpress.com/2009/06/16/configuring-maven-http-connections/
  What you stick to is a _circumventions_ our users came up, as there was no 
clear support for feature.
   
   All in all, I refuse to "treat httpHeaders" as secret, as it would be a 
breaking change. They are not secret and never were secret. Token is the right 
place for secrets, it goes into auth context just like password and everything 
else is.
   
   Also, controls for HTTP headers were already done:
   
https://github.com/apache/maven-resolver/blob/master/maven-resolver-api/src/main/java/org/eclipse/aether/ConfigurationProperties.java#L251-L269
   
   And (carefully) read Javadoc of it.
   
   FYI, I find this nitpicking very counter-productive, real waste of 
everyone's cycles here.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to