[jboss-jira] [JBoss JIRA] (DROOLS-5496) EclipseCompilationProblem conflicting instances

Jozef Marko (Jira) issues at jboss.org
Wed Jul 8 04:07:16 EDT 2020


Jozef Marko created DROOLS-5496:
-----------------------------------

             Summary: 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


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/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}}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list