Repository: beam
Updated Branches:
  refs/heads/master 935ecd4e0 -> 68522aa7b


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

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.


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/dc75e656
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/dc75e656
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/dc75e656

Branch: refs/heads/master
Commit: dc75e6568be9c7c0de06b4bd5b2ec571b05507d3
Parents: 935ecd4
Author: Chang chen <baibaic...@gmail.com>
Authored: Fri Mar 31 17:16:34 2017 +0800
Committer: Chang chen <baibaic...@gmail.com>
Committed: Fri Mar 31 17:16:34 2017 +0800

----------------------------------------------------------------------
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/dc75e656/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index e7ae4ca..5e1da8f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -128,7 +128,7 @@
     <junit.version>4.12</junit.version>
     <mockito.version>1.9.5</mockito.version>
     <netty.version>4.1.6.Final</netty.version>
-    <os-maven-plugin.version>1.4.0.Final</os-maven-plugin.version>
+    <os-maven-plugin.version>1.5.0.Final</os-maven-plugin.version>
     <protobuf.version>3.1.0</protobuf.version>
     <pubsub.version>v1-rev10-1.22.0</pubsub.version>
     <slf4j.version>1.7.14</slf4j.version>

Reply via email to