]
Jozef Marko updated DROOLS-5496:
--------------------------------
Sprint: 2020 Week 28-30 (from Jul 6)
EclipseCompilationProblem conflicting instances
-----------------------------------------------
Key: DROOLS-5496
URL:
https://issues.redhat.com/browse/DROOLS-5496
Project: Drools
Issue Type: Task
Components: eclipse plugin, tools
Affects Versions: 7.41.0.Final
Reporter: Jozef Marko
Assignee: Jozef Marko
Priority: Major
Labels: drools-tools
The issue is donarcloud report on {{drools-wb}} and {{kie-wb-common}} (maybe elsewhere)
is missing due to the error during build execution on jenkins:
{code}
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
{code}
The issue is in two conflicting files:
-
https://github.com/kiegroup/droolsjbpm-tools/blob/master/drools-eclipse/o...
-
https://github.com/kiegroup/drools/blob/master/drools-compiler/src/main/j...
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}}