Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-16974

Update os-maven-plugin to 1.4.1.final+ for building shade file on RHEL/CentOS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • None
    • None
    • Reviewed
    • Upgrade os-maven-plugin mvn extension which figures the os we are running on from 1.4 to 1.5.

    Description

      The current os-maven-plugin may export the profile with quote on certain versions of centos/RHEL, and it introduces the error when building shade file. The error message is shown below.

          [ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:2.4.3:shade (default) on project hbase-protocol-shaded: Error creating shaded jar: The name "os.detected.release.like."centos"" is not legal for JDOM/XML elements: XML names cannot contain the character """. -> [Help 1]
      
      

      The error is caused by the /etc/os-release which contains some quote. The os-maven-plugin 1.4.1.final+ had fixed it. Therefore, we ought to update the os-maven-plugin to 1.4.1.final+ for the user who can’t change the content of the /etc/os-release.

      Any comment? Thanks.

      Attachments

        1. HBASE-16974.v0.patch
          0.7 kB
          Chia-Ping Tsai

        Activity

          People

            chia7712 Chia-Ping Tsai
            chia7712 Chia-Ping Tsai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: