[
https://issues.apache.org/jira/browse/BEAM-1846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15950724#comment-15950724
]
ASF GitHub Bot commented on BEAM-1846:
--------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/beam/pull/2391
> 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: examples-java
> Environment: CentOS
> Reporter: Chang chen
> Assignee: Frances Perry
>
> 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)