Hey Mark,
I just browsed through the commits (git show :/block).
You can easily redirect to http like so as mirrors are not blocked:
<mirrors>
<mirror>
<id>maven-snapshots-https</id>
<name>maven-snapshots-https</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<mirrorOf>maven-snapshots</mirrorOf>
</mirror>
<mirror>
<id>maven-restlet-https</id>
<name>maven-restlet-https</name>
<url>https://maven.restlet.org</url>
<mirrorOf>maven-restlet</mirrorOf>
</mirror>
<mirror>
<id>apache.snapshots-https</id>
<name>apache.snapshots-https</name>
<url>https://repository.apache.org/snapshots</url>
<mirrorOf>apache.snapshots</mirrorOf>
</mirror>
</mirrors>
It works… Kinda. The certificate of https://maven.restlet.org is expired.
But other than that, this is how you bypass the http block.
HTH
Am Di., 4. Mai 2021 um 15:42 Uhr schrieb Mark H. Wood <[email protected]>:
>
> On Tue, May 04, 2021 at 12:29:20PM +0200, Benjamin Marwell wrote:
> > you need to use https URLs in your repositories. http URLs are now
> > blocked by default.
> > That should resolve the issue you are having.
>
> He can't. The problem is with a transitive dependency of Solr 4.10.4
> and is in Solr's POM. This is a known problem for DSpace:
>
> https://stackoverflow.com/q/66962265/2916377
>
> It was activated by a recent Maven upgrade which blocks unencrypted
> repository accesses by default.
>
> > You should take a look at your $HOME/.m2/settings.xml, as well as
> > potential occurrences of repository tags in your pom.xml files.
>
> That won't help in this case, since the problem lies in a necessarily
> ancient version of a third-party dependency. One could either
> override the block in .m2/settings.xml or manually acquire a copy of
> the restlet artifact and install it in one's local repository (perhaps
> using 'mvn install:install-file').
>
> There are breaking changes in newer releases of Solr which won't be
> accounted for in DSpace until the next major release (which should
> come soon). Moving to a newer Solr release is a rather involved
> process due to those changes, and I don't know of anyone who has done
> it with a released version of DSpace.
>
> --
> Mark H. Wood
> Lead Technology Analyst
>
> University Library
> Indiana University - Purdue University Indianapolis
> 755 W. Michigan Street
> Indianapolis, IN 46202
> 317-274-0749
> www.ulib.iupui.edu
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]