From dc75e6568be9c7c0de06b4bd5b2ec571b05507d3 Mon Sep 17 00:00:00 2001 From: Chang chen Date: Fri, 31 Mar 2017 17:16:34 +0800 Subject: [PATCH] [BEAM-1846] Update os-maven-plugin to 1.5.0.final+ for building shade file on RHEL/CentOS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. [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] 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. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e7ae4ca73cd5..5e1da8fd6061 100644 --- a/pom.xml +++ b/pom.xml @@ -128,7 +128,7 @@ 4.12 1.9.5 4.1.6.Final - 1.4.0.Final + 1.5.0.Final 3.1.0 v1-rev10-1.22.0 1.7.14