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

Marek Novotny (Jira) issues at jboss.org
Wed Jul 8 04:21:54 EDT 2020


     [ https://issues.redhat.com/browse/DROOLS-5496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marek Novotny updated DROOLS-5496:
----------------------------------
    Description: 
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:
{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}}

  was:
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}}



> 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
>         Attachments: ReadMeDroolsJbpmTools.txt
>
>
> 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:
> {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