Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5711

Fix duplicate NOTICE error on phoenix-client shading

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 4.15.0
    • None
    • None
    • None

    Description

      I got the following error on building 4.15.0-HBase-1.5 against hadoop-2.10.0 (for BIGTOP-3298). The cause seems to be the pattern for exclusion in pom.xml does not match the file name NOTICE (without suffix).

      $ mvn clean install -DskipTests -Dhbase.version=1.5.0 -Dhadoop.version=2.10.0 -Dhadoop-two.version=2.10.0
      ...snip
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.1.1:shade (default-shaded) on project phoenix-client: Error creating shaded jar: duplicate entry: NOTICE -> [Help 1]
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              iwasakims Masatake Iwasaki
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m