Hi,
Can someone help here
- Enterprise Edition
- Version 8.2 (build 32929)
sonar-jacoco-plugin-1.1.0.898.jar
sonarqube-ant-task-2.6.0.1426.jar
sonar-scanner-cli-4.0.0.1744.jar
jacoco-junit:
[jacoco:coverage] Enhancing junit with coverage
BUILD FAILED
/root_outside/git/liger-solserver-service/ilg-sol-bridge_old/build_sonar.xml:329: Problem: failed to create task or type junit
Cause: the class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask was not found.
This looks like one of Ant’s optional components.
Action: Check that the appropriate optional JAR exists in
-/usr/share/ant/lib
-/root/.ant/lib
-a directory added on the command line with the -lib argument
Do not panic, this is a common problem.
The commonest cause is a missing JAR.
This is not a bug; it is a configuration problem