ошибка с: maven-clean-plugin: 2.5 или одна из его зависимостей не может быть разрешена - PullRequest
0 голосов
/ 17 июня 2020

Пытаюсь запустить программу с maven и постоянно получать эту ошибку. Есть идеи, как исправить? ps - я полный новичок ie с maven / tomcat / springframework et c

ebitnami@ubuntu:~$ cd OpenESPI-Common-java/
bitnami@ubuntu:~/OpenESPI-Common-java$ mvn -Dmaven.test.skip=true clean install
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Common 1.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean- 
plugin/2.5/maven-clean-plugin-2.5.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.809s
[INFO] Finished at: Wed Jun 17 16:21:44 EDT 2020
[INFO] Final Memory: 6M/59M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not 
 be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean- 
 plugin:jar:2.5: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 
 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: 
 http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean- 
 plugin-2.5.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. -> [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/PluginResolutionException
...