[
https://issues.apache.org/jira/browse/BEAM-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ismaël Mejía resolved BEAM-1846.
--------------------------------
Resolution: Fixed
Fix Version/s: Not applicable
> Update os-maven-plugin to 1.5.0.final+ for building shade file on RHEL/CentOS
> -----------------------------------------------------------------------------
>
> Key: BEAM-1846
> URL: https://issues.apache.org/jira/browse/BEAM-1846
> Project: Beam
> Issue Type: Bug
> Components: build-system
> Environment: CentOS
> Reporter: Chang chen
> Fix For: Not applicable
>
>
> 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]... 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 latest verison (1.5.0.fianl) for the user who can’t change
> the content of the /etc/os-release.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)