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

[jira] [Updated] (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:all-tabpanel ]

ChiaPing Tsai updated HBASE-16974:
----------------------------------
    Attachment: HBASE-16974.v0.patch

The v0.patch has two changes.

1. update os-maven-plugin from 1.4.0.Final to 1.5.0.Final 
2. fix misspelled words

{panel:title=hbase-protocol-shaded/README}
If you make changes to protos, to the protobuf version or to
the patches you want to apply to protobuf, you must rerun the
below step and then check in what it generated:
 $ mvn install -Dcompile-protobuf
or
 $ mvn install -Pcompille-protobuf
{panel}
“-Pcompille-protobuf” >>> “-Pcompile-protobuf”

> 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
>    Affects Versions: 2.0.0
>            Reporter: ChiaPing Tsai
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-16974.v0.patch
>
>
> 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)