Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1531

Classes refactored from -commons to -api still showing up (duplicates) in binary JARs of -commons

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 5.1.0.BETA5
    • 5.1.0.BETA4
    • Build
    • None

      The "binaries" JAR for -commons still contains some classes that have been refactored to the -api JAR, which results in duplicates of the classes in the classpath, and mismatched source/binary JARs.

      Example mismatched JAR pair (which may not exist by the time you read this - attaching in case):

      Several packages are affected, including:

      • org.infinispan.executors
      • org.infinispan.lifecycle
      • org.infinispan.manager

      This seems to be related to commit 907621288ee8c84d4db64dbf0e6acfb954a8e12f in which several of these classes were re-factored from -commons to -api. For whatever reason, the classes are showing up in the binary builds of both -commons AND -api. Problem present in BETA4 and recent SNAPSHOT builds.

      Sorry, my Maven skillz are really too weak to suggest a patch/fix, but it's definitely causing issues trying to trace through stuff in my dev environment.

              ttarrant@redhat.com Tristan Tarrant
              inetdevboy_jira Glen Taylor (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: