You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Chang chen (JIRA)" <ji...@apache.org> on 2017/03/31 09:11:41 UTC

[jira] [Created] (BEAM-1846) Update os-maven-plugin to 1.5.0.final+ for building shade file on RHEL/CentOS

Chang chen created BEAM-1846:
--------------------------------

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