ballerina-platform / ballerina-library

The Ballerina Library
https://ballerina.io/learn/api-docs/ballerina/
Apache License 2.0
136 stars 64 forks source link

When importing `ballerinax/asb` to package, a conflicting JAR warning is getting printed #7052

Closed ayeshLK closed 2 months ago

ayeshLK commented 2 months ago

Description:

$subject

Steps to reproduce:

  1. Create a new Ballerina package using bal new
  2. Import ballerinax/asb to the package
        import ballerinax/asb as _;
  3. Build the project using bal build

Affected Versions:

ayeshLK commented 2 months ago

When build using bal build --list-conflicted-classes following packages were identified as the conflicting the packages which has conflicting classes.

com/ctc/wstx/api
com/ctc/wstx/cfg
com/ctc/wstx/compat
com/ctc/wstx/dom
com/ctc/wstx/dtd
com/ctc/wstx/ent
com/ctc/wstx/evt
com/ctc/wstx/exc
com/ctc/wstx/io
com/ctc/wstx/msv
com/ctc/wstx/osgi
com/ctc/wstx/sax
com/ctc/wstx/shaded/msv
com/ctc/wstx/shaded/msv_core
com/ctc/wstx/sr
com/ctc/wstx/stax
com/ctc/wstx/sw
com/ctc/wstx/util
org/codehaus/stax2
ayeshLK commented 2 months ago

As per the initial analysis following dependencies could be the reason for the conflicting JAR warning:

github-actions[bot] commented 2 months ago

This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.

      - Reason/EngineeringMistake - The issue occurred due to a mistake made in the past.
      - Reason/Regression - The issue has introduced a regression.
      - Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components.
      - Reason/Complex - Issue occurred due to complex scenario.
      - Reason/Invalid - Issue is invalid.
      - Reason/Other - None of the above cases.