janklab / slf4m-jankalog

Modified forks of FLOSS logging libraries to support SLF4M
Other
0 stars 0 forks source link

mvn still hitting plain "http:" central repo for log4j 1.2.15 and 1.2.17 builds #9

Open apjanke opened 2 years ago

apjanke commented 2 years ago

For mvn2 site in my log4j 1.2.15:

[INFO] Generating "Dependencies" report.
[WARNING] The repository url 'http://repo1.maven.org/maven2' is invalid - Repository 'central' will be blacklisted.
[INFO] Generating "Continuous Integration" report.

Happens in mvn <something> for log4j 1.2.17, too, in the reporting section. Looks like a different mechanism though: this is a client-side refusal to do http, instead of the Maven Central server rejecting non-https connections.

[INFO] Generating "Dependencies" report  --- maven-project-info-reports-plugin:2.8.1:dependencies
[WARNING] The repository url 'http://0.0.0.0/' is invalid - Repository 'maven-default-http-blocker' will be blacklisted.
[INFO] Generating "Issue Tracking" report --- maven-project-info-reports-plugin:2.8.1:issue-tracking
apjanke commented 2 years ago

Fixed this in 1.2.15 by upgrading it to use Maven 3. That seems like the best approach. Will close this once I have both log4j versions building reliably.