You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2016/10/31 18:01:04 UTC

[jira] [Commented] (HBASE-16974) Update os-maven-plugin to 1.4.1.final+ for building shade file on RHEL/CentOS

    [ https://issues.apache.org/jira/browse/HBASE-16974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15622876#comment-15622876 ] 

stack commented on HBASE-16974:
-------------------------------

Sure. Put up a patch [~chia7712]

> 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)