Type: New Feature
Affects Version/s: None
Fix Version/s: None
Have a look at this Artifactory plugin:
Can we get a plugin like this to modify the HTTP Response Reason Phrase?
The use case is that we want to pass a message from our plugin to Maven users.
If you try to build using Maven, the message set in this example will never reach the user, like this:
[ERROR] Plugin org.codehaus.mojo:license-maven-plugin:1.8 or one of its dependencies could not be resolved: Could not transfer artifact org.codehaus.mojo:license-maven-plugin:jar:1.8 from/to central (http://gew1-artifactory4gcp-a-pkj5:8081/artifactory/libs-release): Access denied to: http://gew1-artifactory4gcp-a-pkj5:8081/artifactory/libs-release/org/codehaus/mojo/license-maven-plugin/1.8/license-maven-plugin-1.8.jar , ReasonPhrase:Forbidden. -> [Help 1]
But the HTTP Reason Phrase would ("ReasonPhrase:Forbidden" in the above example), that's why we want to be able to modify it.
Note that as long as the Reason Phrase doesn't contain any newlines, it is fine to put anything in there:
See also the conversation here: