Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-5496

EclipseCompilationProblem conflicting instances

XMLWordPrintable

      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:

      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

              rh-ee-jomarko Jozef Marko (Inactive)
              rh-ee-jomarko Jozef Marko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: