diff --git a/0003-Reproducible-exclusions-order-in-maven-metadata.patch b/0003-Reproducible-exclusions-order-in-maven-metadata.patch index e2852d0..0c452ca 100644 --- a/0003-Reproducible-exclusions-order-in-maven-metadata.patch +++ b/0003-Reproducible-exclusions-order-in-maven-metadata.patch @@ -4,7 +4,7 @@ Date: Mon, 11 Sep 2023 18:43:28 +0200 Subject: [PATCH 3/3] Reproducible exclusions order in maven metadata --- - python/javapackages/maven/dependency.py | 6 +++--- + python/javapackages/maven/dependency.py | 4 ++-- python/javapackages/metadata/dependency.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) @@ -21,15 +21,6 @@ index 8b92327c..534a631e 100644 exc_root.insert(len(exc_root), exc.get_xml_element()) xml_root.insert(len(root), exc_root) -@@ -127,7 +127,7 @@ class Dependency(AbstractArtifact): - excnodes = xmlnode.findall("{*}exclusions/{*}exclusion") - - exclusions = [] -- for exc in [Exclusion.from_xml_element(x) for x in excnodes]: -+ for exc in [Exclusion.from_xml_element(x) for x in sorted(excnodes)]: - exclusions.append(exc) - - return cls(parts["groupId"], @@ -137,7 +137,7 @@ class Dependency(AbstractArtifact): version=parts["version"], scope=parts["scope"],