Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25023

Admin View cannot be Deployed Due to META-INF Ordering

    XMLWordPrintableJSON

Details

    Description

      The new build process which was changed in AMBARI-24804 is causing JARs to be built slightly differently:

      unzip -l ambari-admin-2.7.3.0.0.jar
              0  12-07-2018 10:53   META-INF/
            133  12-07-2018 10:53   META-INF/MANIFEST.MF
              0  12-07-2018 10:53   META-INF/maven/
              0  12-07-2018 10:53   META-INF/maven/org.apache.ambari/
              0  12-07-2018 10:53   META-INF/maven/org.apache.ambari/ambari-admin/
          11110  12-05-2018 14:31   META-INF/maven/org.apache.ambari/ambari-admin/pom.xml
            118  12-07-2018 10:53   META-INF/maven/org.apache.ambari/ambari-admin/pom.properties
      
      unzip -l ambari-admin-3.0.0.0-SNAPSHOT.jar
          473  12-07-2018 11:37   META-INF/MANIFEST.MF
              0  12-07-2018 11:37   META-INF/
              0  12-07-2018 11:37   META-INF/maven/
              0  12-07-2018 11:37   META-INF/maven/org.apache.ambari/
              0  12-07-2018 11:37   META-INF/maven/org.apache.ambari/ambari-admin/
            106  12-07-2018 11:37   META-INF/maven/org.apache.ambari/ambari-admin/pom.properties
          11358  12-07-2018 11:37   META-INF/LICENSE
           5060  12-07-2018 11:37   META-INF/maven/org.apache.ambari/ambari-admin/pom.xml
            267  12-07-2018 11:37   META-INF/DEPENDENCIES
            165  12-07-2018 11:37   META-INF/NOTICE
      

      Since the file META-INF/MANIFEST.MF appears before META-INF, it exposes a bug in the ViewExtractor

      Attachments

        Issue Links

          Activity

            People

              jonathanhurley Jonathan Hurley
              jonathanhurley Jonathan Hurley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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