Description
Configure a Maven 2 snapshots proxy to http://repo.fusesource.com/nexus/content/repositories/snapshots/
Enable remote.storage.outbound logging in Nexus.
Make any artifact request to this proxy. You will see log messages printed that a protocol downgrade occurred. This is not true. Protocol was always http.
2015-06-09 02:50:57,098-0700 DEBUG [qtp2083653315-17650] anonymous remote.storage.outbound - Downgrade from HTTPS to HTTP during redirection /nexus/content/repositories/snapshots/org/example/3.0.35-SNAPSHOT/maven-metadata.xml -> http://repository.jboss.org/nexus/content/repositories/fs-snapshots/org/example/3.0.35-SNAPSHOT/maven-metadata.xml 2015-06-09 02:50:57,098-0700 DEBUG [qtp2083653315-17650] anonymous remote.storage.outbound - Following redirection /nexus/content/repositories/snapshots/org/example/3.0.35-SNAPSHOT/maven-metadata.xml -> http://repository.jboss.org/nexus/content/repositories/fs-snapshots/org/example/3.0.35-SNAPSHOT/maven-metadata.xml
Expected:
- avoid this misleading logging message
- include the absolute source URI if possible, not just the relative path
- include the source repository id if possible
- indicate status code causing the redirection 302 or 301