Maven -X debug option is useful to examine HTTP traffic, in particular HTTP headers being sent and received by the nxrm3 maven plugin. This is logged by org.apache.http at DEBUG level.
Argument -X also seems to also log org.apache.http.wire level logging. This is not desired, duplicates log statements for org.apache.http at DEBUG level and makes Maven debug logs extremely verbose and hard to parse as all binary content is dumped to the maven log.
When Maven execution is passed -X, all nxrm3-maven-plugin HTTP traffic:
- SHOULD NOT log org.apache.http.wire logger DEBUG level and below log statements
- should log org.apache.http logger DEBUG level and below statements
This is how the nexus-staging-maven-plugin worked.