hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ChiaPing Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-16974) Update os-maven-plugin to 1.4.1.final+ for building shade file on RHEL/CentOS
Date Mon, 31 Oct 2016 10:28:58 GMT
ChiaPing Tsai created HBASE-16974:
-------------------------------------

             Summary: Update os-maven-plugin to 1.4.1.final+ for building shade file on RHEL/CentOS
                 Key: HBASE-16974
                 URL: https://issues.apache.org/jira/browse/HBASE-16974
             Project: HBase
          Issue Type: Bug
            Reporter: ChiaPing Tsai
            Priority: Minor


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.
{noformat}

    [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]

{noformat}

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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message