sbt/sbt-app/src/sbt-test
eugene yokota e6666e4b10
[2.0.x] Fix duplicate autoplugins packageBin mappings (#9255) (#9273)
Deduplicate executable jar package entries. In the issue, the duplicate was something like:

(resource_managed/.../sbt/sbt.autoplugins, "sbt/sbt.autoplugins")
(classes/.../sbt/sbt.autoplugins,          "sbt/sbt.autoplugins")

This is because copyResources copied autoplugin metadata to the classes directory.

Solution: when composing the packageBinMappings, differentiate between artifacts that come from class directory and from outside of it. If there is a duplicate, prefer resource that comes from outside of it.

Co-authored-by: Anatolii Kmetiuk <anatoliykmetyuk@gmail.com>
2026-05-30 20:16:58 -04:00
..
actions [2.x] feat: Add cacheVersion setting for global cache invalidation (#8993) 2026-05-17 03:17:12 -04:00
apiinfo Remove tests that checks for the iteration 2026-05-14 01:36:03 -04:00
cache [2.0.x] Scala 3.8.3 (#8997) 2026-05-17 00:13:13 -04:00
classloader-cache avoid deprecated scala.App 2026-01-09 20:10:28 +09:00
compiler-project Remove tests that checks for the iteration 2026-05-14 01:36:03 -04:00
console [2.x] feat: Support fork in console task (#8604) 2026-01-25 02:16:49 -05:00
dependency-graph [2.x] fix: Allow dependencyTree to run despite eviction errors (#8554) 2026-01-15 22:52:38 -05:00
dependency-management [2.0.x] fix: Make custom-scala-org scripted test hermetic (#9260) (#9263) 2026-05-24 03:56:27 -04:00
ivy-deps-management/update-classifiers-snapshot-srcs [2.x] test: Use new wildcard syntax in test (#8807) 2026-02-24 00:15:37 -05:00
java Add scripted test for #6175 (#8598) 2026-01-21 02:31:07 -05:00
lm-coursier [2.0.x] fix: Unresolved dependency error for Coursier (#8869) (#8961) 2026-03-22 21:53:20 -04:00
nio [2.0.x] Scala 3.8.3 (#8997) 2026-05-17 00:13:13 -04:00
package [2.x] fix: Replace Scala version with u when crossPaths is false 2025-12-18 00:00:11 -05:00
plugins [2.0.x] Fix duplicate autoplugins packageBin mappings (#9255) (#9273) 2026-05-30 20:16:58 -04:00
project [2.0.x] Scala 3.8.3 (#8997) 2026-05-17 00:13:13 -04:00
project-load [2.0.x] Scala 3.8.3 (#8997) 2026-05-17 00:13:13 -04:00
project-matrix [2.0.x] Scala 3.8.3 (#8997) 2026-05-17 00:13:13 -04:00
project1/global-plugin [2.x] test: Move back the project scripted tests (#8660) 2026-01-31 17:41:45 -05:00
reporter [2.x] test: Use new wildcard syntax in test (#8807) 2026-02-24 00:15:37 -05:00
run [2.x] Fix console output not appearing with bgRun and run / fork := true (#9166) 2026-05-02 21:40:09 -04:00
server/client-subscription [2.x] feat: sbtn subscription level (#8796) 2026-05-02 21:39:45 -04:00
source-dependencies Remove tests that checks for the iteration 2026-05-14 01:36:03 -04:00
tests [2.0.x] Scala 3.8.3 (#8997) 2026-05-17 00:13:13 -04:00
watch Merge branch '1.12.x' into wip/merge-1.12.x 2026-01-05 00:08:21 -05:00