1
resposta

Máquina nova

Instalei o eclipse. Java Maven

Baixei o projeto

quando vou na opção maven clean, dá o erro:

[INFO] Scanning for projects...
Downloading: http://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/2.1.7.RELEASE/spring-boot-starter-parent-2.1.7.RELEASE.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project br.com.ghsistemas.principal:principal:0.0.1-SNAPSHOT (C:\Docker\workspace\principal\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.7.RELEASE from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/2.1.7.RELEASE/spring-boot-starter-parent-2.1.7.RELEASE.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. and 'parent.relativePath' points at no local POM @ line 19, column 10 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

O que pode ser ?

A rede não tem proxy.

1 resposta

Alterei o settings.xml (1,2,KB)

Ele faz o downloading, mas de tudo, sendo que este projeto não está no endereço da web e sim local.

Failed to execute goal on project principal-core: Could not resolve dependencies for project br.com.ghsistemas.principal:principal-core:jar:0.0.1-SNAPSHOT: Could not find artifact br.com.ghsistemas.principal:principal-utilitario:jar:0.0.1-SNAPSHOT in repo-maven (https://repo.maven.apache.org/maven2) -> [Help 1]

O que pode ser ?