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.

Se o status code foi 501, provavelmente é a Maven Central que tá passando por instabilidade. Mas, só pra ter certeza, posta seu pom.xml.

O pm.xml

<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

    <modelVersion>4.0.0</modelVersion>

    <groupId>br.com.ghsistemas.usuarios</groupId>
    <artifactId>usuarios</artifactId>
    <version>0.0.1</version>
    <packaging>pom</packaging>

    <modules>
        <module>core</module>
        <module>rest</module>
        <module>utilitario</module>
    </modules>

    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.1.7.RELEASE</version>
        <relativePath/>
    </parent>

    <properties>
        <java.version>1.8</java.version>
        <java.encoding>UTF-8</java.encoding>
        <maven.build.timestamp.format>dd/MM/yyyy HH:mm:ss</maven.build.timestamp.format>
        <maven.compiler.source>${java.version}</maven.compiler.source>
        <maven.compiler.target>${java.version}</maven.compiler.target>
        <project.build.sourceEncoding>${java.encoding}</project.build.sourceEncoding>
        <project.reporting.outputEncoding>${java.encoding}</project.reporting.outputEncoding>

        <principal.ghsistemas.version>0.0.1-SNAPSHOT</principal.ghsistemas.version>

        <project.main.basedir>${project.basedir}</project.main.basedir>
        <jjwt.version>0.9.1</jjwt.version>
        <passay.version>1.4.0</passay.version>
        <collections4.version>4.2</collections4.version>
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
        </dependency>
        <dependency>
            <groupId>joda-time</groupId>
            <artifactId>joda-time</artifactId>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-security</artifactId>
        </dependency>
    </dependencies>
</project>

Tô encanado com essa mensagem, aqui.

Se não me engano, o Maven Central não aceita HTTP. Daí ce precisa só botar como https a solicitação.

Artigo que pode te ajudar

Aonde ?

Meu arquivo settings.xml, está normal.settings.xml (10,1,KB)

em anexo.

[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for br.com.ghsistemas.principal:principal-core:jar:0.0.1-SNAPSHOT
[WARNING] 'dependencyManagement.dependencies.dependency.exclusions.exclusion.artifactId' for org.quartz-scheduler:quartz:jar with value '*' does not match a valid id pattern. @ org.springframework.boot:spring-boot-dependencies:2.1.7.RELEASE, C:\Users\Usuario\.m2\repository\org\springframework\boot\spring-boot-dependencies\2.1.7.RELEASE\spring-boot-dependencies-2.1.7.RELEASE.pom, line 2598, column 25
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for br.com.ghsistemas.principal:principal-rest:jar:0.0.1-SNAPSHOT
[WARNING] 'dependencyManagement.dependencies.dependency.exclusions.exclusion.artifactId' for org.quartz-scheduler:quartz:jar with value '*' does not match a valid id pattern. @ org.springframework.boot:spring-boot-dependencies:2.1.7.RELEASE, C:\Users\Usuario\.m2\repository\org\springframework\boot\spring-boot-dependencies\2.1.7.RELEASE\spring-boot-dependencies-2.1.7.RELEASE.pom, line 2598, column 25
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for br.com.ghsistemas.principal:principal-utilitario:jar:0.0.1-SNAPSHOT
[WARNING] 'dependencyManagement.dependencies.dependency.exclusions.exclusion.artifactId' for org.quartz-scheduler:quartz:jar with value '*' does not match a valid id pattern. @ org.springframework.boot:spring-boot-dependencies:2.1.7.RELEASE, C:\Users\Usuario\.m2\repository\org\springframework\boot\spring-boot-dependencies\2.1.7.RELEASE\spring-boot-dependencies-2.1.7.RELEASE.pom, line 2598, column 25
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for br.com.ghsistemas.principal:principal:pom:0.0.1-SNAPSHOT
[WARNING] 'dependencyManagement.dependencies.dependency.exclusions.exclusion.artifactId' for org.quartz-scheduler:quartz:jar with value '*' does not match a valid id pattern. @ org.springframework.boot:spring-boot-dependencies:2.1.7.RELEASE, C:\Users\Usuario\.m2\repository\org\springframework\boot\spring-boot-dependencies\2.1.7.RELEASE\spring-boot-dependencies-2.1.7.RELEASE.pom, line 2598, column 25
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Sistema principal
[INFO] Principal rest
[INFO] Principal core
[INFO] Principal core
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Sistema principal 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/3.1.0/maven-clean-plugin-3.1.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Sistema principal ................................. FAILURE [1.418s]
[INFO] Principal rest .................................... SKIPPED
[INFO] Principal core .................................... SKIPPED
[INFO] Principal core .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.138s
[INFO] Finished at: Fri Mar 06 18:23:30 BRT 2020
[INFO] Final Memory: 10M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:3.1.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:3.1.0: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:3.1.0 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/3.1.0/maven-clean-plugin-3.1.0.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

Aí é que tá. Deveria ser HTTPS.

Agora, eu não sou especialista em Maven. Inclusve, profissionalmente nunca usei, sempre opto pelo Gradle. Mas esse é o possível problema.

Se o problema for este aonde alterar ?

Pois eu não incluir este http, assim ele busca de forma automática, pelo que entendo.

Não faço a menor ideia.

Entendi, como vc falou, vc já trabalhou com Gradle.

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 ?