[
https://issues.apache.org/jira/browse/HBASE-16974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack updated HBASE-16974:
--------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Release Note: Upgrade os-maven-plugin mvn extension which figures the os we
are running on from 1.4 to 1.5.
Status: Resolved (was: Patch Available)
Pushed to master branch. Thank you for the nice patch [~chia7712] (It might
help w/ issue I'm having over on HBASE-16955)
> 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)