File strip-nondeterminism.patch of Package javapackages-tools

diff --git a/java-utils/maven_depmap.py b/java-utils/maven_depmap.py
index 70c1fcf2..cf78efdd 100644
--- a/java-utils/maven_depmap.py
+++ b/java-utils/maven_depmap.py
@@ -39,6 +39,7 @@
 from optparse import OptionParser
 import os
 import shutil
+import subprocess
 import sys
 
 from os.path import basename, dirname
@@ -74,6 +75,10 @@ class UnknownFileExtension(JavaPackagesToolsException):
     def __init__(self, jar_path):
         self.args=("Unknown file extension: %s" % (jar_path),)
 
+class StripNondeterminismFailed(JavaPackagesToolsException):
+    def __init__(self, jar_path):
+        self.args=("Failed strip-nondeterminism %s" % (jar_path),)
+
 
 def _print_path_with_dirs(path, base):
     print(path)
@@ -294,6 +299,11 @@ def _main():
         # output file path for file list (if it's not versioned)
         if not add_versions:
             _print_path_with_dirs(jar_path, jar_base)
+        try:
+            if subprocess.call(["strip-nondeterminism", jar_path]):
+                pass
+        except OSError as e:
+            pass
     if have_pom:
         metadata_pom_path = os.path.abspath(pom_path)
         artifact.path = metadata_pom_path.replace(buildroot, "") if buildroot else metadata_pom_path