Já verifiquei no fórum não consegui encontrar solução para a aula 5 - Gerando nosso Fatjar Spring Boot, pois utilizado o enviador Email como dependência gera falha que segue abaixo. Já executei o mvn clean install no projeto enviadorEmail, retirando a pasta do projeto da IDE , fica com erro onde faz referencia no projeto listavip, isso mesmo na dependência do maven está o jar do projeto enviadorEmail.
Qual seria a forma de fazer essa dependência, para conseguir gerar o jar e testar ??
Segue meu projeto: git@bitbucket.org:caioscarassati/scarassatispringboot.git
scarassati@scarassati:~/eclipse-workspace/springboot/listavip$ mvn package
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------< br.com.alura.listavip:listavip >-------------------
[INFO] Building listavip 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ listavip ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 23 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ listavip ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 5 source files to /home/scarassati/eclipse-workspace/springboot/listavip/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/scarassati/eclipse-workspace/springboot/listavip/src/main/java/br/com/alura/listavip/ConvidadoController.java:[9,34] package br.com.alura.enviadorEmail does not exist
[ERROR] /home/scarassati/eclipse-workspace/springboot/listavip/src/main/java/br/com/alura/listavip/ConvidadoController.java:[40,21] cannot find symbol
symbol: class EmailService
location: class br.com.alura.listavip.ConvidadoController
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.800 s
[INFO] Finished at: 2019-04-26T05:50:00-03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project listavip: Compilation failure: Compilation failure:
[ERROR] /home/scarassati/eclipse-workspace/springboot/listavip/src/main/java/br/com/alura/listavip/ConvidadoController.java:[9,34] package br.com.alura.enviadorEmail does not exist
[ERROR] /home/scarassati/eclipse-workspace/springboot/listavip/src/main/java/br/com/alura/listavip/ConvidadoController.java:[40,21] cannot find symbol
[ERROR] symbol: class EmailService
[ERROR] location: class br.com.alura.listavip.ConvidadoController
[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
scarassati@scarassati:~/eclipse-workspace/springboot/listavip$