Java

Plugin org.codehaus.mojo:exec-maven-plugin:1.2.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.mojo:exec-maven-plugin:jar:1.2.1: Could not transfer artifact org.codehaus.mojo:exec-maven-plugin:pom:1.2.1 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-plugin/1.2.1/exec-maven-plugin-1.2.1.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

Alguém pode me auxiliar como eu resolvo isso no Java ?

O erro diz tudo. Muda o url do teu repositório de http://repo.maven... para https://repo.maven...

OI boa tarde
isso que vc falou pra mim não deu certo não, tem alguma outra opção pra eu corrigir esse erro ???

Qual é o erro agora?

o mesmo erro que eu te passei

Se é o mesmo erro, então você não mudou de http para https como o @pmlm orientou.

1 curtida

Eu tentei mais não funcionou