Skip to content

Comments

Resolve sbt assembly deduplicate failure in packageAll#325

Open
h1sk1 wants to merge 1 commit intovirtualeconomy:masterfrom
h1sk1:master
Open

Resolve sbt assembly deduplicate failure in packageAll#325
h1sk1 wants to merge 1 commit intovirtualeconomy:masterfrom
h1sk1:master

Conversation

@h1sk1
Copy link
Member

@h1sk1 h1sk1 commented Dec 11, 2025

PR Details

Resolve sbt assembly deduplicate failure in node compiling.

Description

Pin commons-net to 3.9.0 and add commons-io 2.16.1 so the fat-jar build no longer includes multi-release module-info.class duplicates. This keeps sbt packageAll from failing the merge phase with the commons artifacts that introduced Java 9 module descriptors.

Related Issue

Motivation and Context

packageAll failed with deduplicate: different file contents for META-INF/versions/9/module-info.class coming from commons-net-3.12.0.jar and commons-io-2.20.0.jar. Pinning lower versions that do not contribute conflicting descriptors lets sbt-assembly merge the dependencies cleanly.

How Has This Been Tested

Tested locally

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant