Eu estava com dificuldade em conseguir utilizar o plugin jacoco, tanto que até abri um tópico: https://cursos.alura.com.br/forum/topico-jacoco-46483 , porém eu continuei o curso e aparentemente ele fez o download dos arquivos que precisava, e quando cheguei na parte de executar o goal do report para gerar relatório o prompt apresentou uma exception enorme. Segue abaixo:
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.249 s
[INFO] Finished at: 2017-09-26T18:06:29-03:00
[INFO] Final Memory: 22M/185M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jacoco:jacoco-maven-plugin:0.7.5.201505241946:report (default) on project produtos: Execution default of goal org.jacoco:jacoco-maven-plugin:0.7.5.201505241946:report failed: A required class was missing while executing org.jacoco:jacoco-maven-plugin:0.7.5.201505241946:report: org/apache/commons/collections/ExtendedProperties [ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.jacoco:jacoco-maven-plugin:0.7.5.201505241946
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/Anelise/.m2/repository/org/jacoco/jacoco-maven-plugin/0.7.5.201505241946/jacoco-maven-plugin-0.7.5.201505241946.jar
[ERROR] urls[1] = file:/C:/Users/Anelise/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar [ERROR] urls[2] = file:/C:/Users/Anelise/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
[ERROR] urls[3] = file:/C:/Users/Anelise/.m2/repository/junit/junit/4.8.2/junit-4.8.2.jar
[ERROR] urls[4] = file:/C:/Users/Anelise/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar
[ERROR] urls[5] = file:/C:/Users/Anelise/.m2/repository/org/apache/maven/shared/file-management/1.2.1/file-management-1.2.1.jar
[ERROR] urls[6] = file:/C:/Users/Anelise/.m2/repository/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar
[ERROR] urls[7] = file:/C:/Users/Anelise/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.1/maven-reporting-api-2.2.1.jar
[ERROR] urls[8] = file:/C:/Users/Anelise/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1/doxia-sink-api-1.1.jar
[ERROR] urls[9] = file:/C:/Users/Anelise/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar
[ERROR] urls[10] = file:/C:/Users/Anelise/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.1/maven-reporting-impl-2.1.jar
Erro de urls do [10] até o [33] , não coloquei todos pois tem um limite pra enviar aqui no tópico.
[ERROR] urls[33] = file:/C:/Users/Anelise/.m2/repository/org/jacoco/org.jacoco.report/0.7.5.201505241946/org.jacoco.report-0.7.5.201505241946.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]] [ERROR]
[ERROR] -----------------------------------------------------
[ERROR] : org.apache.commons.collections.ExtendedProperties [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/PluginContainerException
Alguém me ajuda fazendo um enorme favor?? Obrigada!