Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-537

The zookeeper jar includes the java source files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • build
    • None
    • Reviewed

    Description

      This is a problem if you use zookeeper as a dependency in maven because for whatever reason the maven compiler plugin will pick up the java files in the jar and compile them to the output directory. From there they will land in the generated jar file for whatever project happens to depend on zookeeper thus introducing duplicate classes (once in zookeeper.jar, once in the project's artifact).

      Attachments

        1. build.patch
          7 kB
          Thomas Dudziak
        2. ZOOKEEPER-537.patch
          8 kB
          Patrick D. Hunt

        Issue Links

          Activity

            People

              tomdz Thomas Dudziak
              tomdz Thomas Dudziak
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: