-
Notifications
You must be signed in to change notification settings - Fork 26
Description
While trying to install PHIS via opensilex-phis-docker, I got an error:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:01 min
[INFO] Finished at: 2020-02-07T13:10:42+00:00
[INFO] Final Memory: 21M/51M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project opensilex: Could not resolve dependencies for project com.mycompany:opensilex:war:v0.1: Failed to collect dependencies at com.twmacinta:fast-md5:jar:2.7.1: Failed to read artifact descriptor for com.twmacinta:fast-md5:jar:2.7.1: Could not transfer artifact com.twmacinta:fast-md5:pom:2.7.1 from/to spring-milestones (http://repo.spring.io/libs-milestone/): Access denied to: http://repo.spring.io/libs-milestone/com/twmacinta/fast-md5/2.7.1/fast-md5-2.7.1.pom , ReasonPhrase:Forbidden. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
ERROR: Service 'phis-ws' failed to build: The command '/bin/sh -c cd /home/phis/phis-ws/phis2-ws && mvn clean install -Pprod' returned a non-zero code: 1
Apparently this is because since 2020-01-15 the maven repository requires access to https. This policy is now also adopted by the spring repository. However, the pom.xml for phis-ws still refers to it with http:
<repositories>
<!--REPO CRYPTAGE-->
<repository>
<id>spring-milestones</id>
<url>http://repo.spring.io/libs-milestone/</url>
</repository>
</repositories>
This is difficult to work around with the Docker install, so can it be fixed?