-
Task
-
Resolution: Done
-
Major
-
7.41.0.Final
-
2020 Week 28-30 (from Jul 6)
-
NEW
-
NEW
The issue is sonarcloud report on drools-wb and kie-wb-common (maybe elsewhere) is missing due to the error during build execution on jenkins:
20:44:54 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (generate-aggregated-jacoco-report) on project drools-wb: An Ant BuildException has occured: Error while creating report 20:44:54 [ERROR] around Ant part ...<report>... @ 7:11 in /home/jenkins/workspace/KIE/master/pullrequest/new-PR-drools-wb-master.pullrequests/target/antrun/build-main.xml: Error while analyzing kiegroup_droolsjbpm-tools/drools-eclipse/org.drools.eclipse/target/classes/org/drools/compiler/commons/jci/compilers/EclipseCompilationProblem.class. Can't add different class with same name: org/drools/compiler/commons/jci/compilers/EclipseCompilationProblem
The issue is in two conflicting files:
- https://github.com/kiegroup/droolsjbpm-tools/blob/master/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/compiler/commons/jci/compilers/EclipseCompilationProblem.java
- https://github.com/kiegroup/drools/blob/master/drools-compiler/src/main/java/org/drools/compiler/commons/jci/compilers/EclipseCompilationProblem.java
As the droolsjbpm-tools has actually a dependency for drools-compiler, we should fix by removing the EclipseCompilationProblem from droolsjbpm-tools.
It was introduced by single commit https://github.com/kiegroup/droolsjbpm-tools/pull/98 without a reference to any jira. Furthermore there is no reference to that file in droolsjbpm-tools