Não funcionou ! :'(
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running br.com.alura.maven.ProdutoTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.212 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ produtos ---
[INFO]
[INFO] >>> maven-pmd-plugin:3.6:check (default) > :pmd @ produtos >>>
[INFO]
[INFO] --- maven-pmd-plugin:3.6:pmd (pmd) @ produtos ---
[WARNING] Unable to locate Source XRef to link to - DISABLED
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO]
[INFO] <<< maven-pmd-plugin:3.6:check (default) < :pmd @ produtos <<<
[INFO]
[INFO]
[INFO] --- maven-pmd-plugin:3.6:check (default) @ produtos ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.426 s
[INFO] Finished at: 2019-07-23T11:45:11-03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.6:check (default) on project produtos: You have 1 PMD violation. For more details see: C:\Users\Renato\Documents\Renato\workspace\calculadora\produtos\target\pmd.xml -> [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