[ 
https://issues.apache.org/jira/browse/HBASE-16974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ChiaPing Tsai updated HBASE-16974:
----------------------------------
             Assignee: ChiaPing Tsai
        Fix Version/s: 2.0.0
    Affects Version/s: 2.0.0
               Status: Patch Available  (was: Open)

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

Reply via email to