1
resposta

Erro ao executar o mvn compile

Nao consigo executar o mvn compile, gera o erro abaixo.

[INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.243 s [INFO] Finished at: 2018-12-28T15:13:03-05:00 [INFO] Final Memory: 9M/34M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project produtos: Compilation failure: Compilation failure: [ERROR] Source option 5 is no longer supported. Use 6 or later. [ERROR] Target option 1.5 is no longer supported. Use 1.6 or later. [ERROR] -> [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/MojoFailureException jorge@jorge-VirtualBox:~/Documents/Jorge/workspace/apache-maven-3.6.0/bin/produtos$

1 resposta

Oi Jorge tudo certo ?

Tem um tópico com o mesmo problema que o seu, e que foi resolvido aqui:

https://cursos.alura.com.br/forum/topico-error-source-option-1-5-is-no-longer-supported-use-1-6-or-later-35395