NixOS / mvn2nix-maven-plugin

Generate project-info.json for use with nix's Maven repository generation functions
MIT License
31 stars 21 forks source link

Why are test-scoped dependencies skipped? #16

Closed asymmetric closed 6 years ago

asymmetric commented 6 years ago

Dependencies with <scope>test</scope> are skipped.

At the same time, build-maven.nix runs the package phase, which will run tests.

How does this work in practice? Is it currently working because no-one is using <scope>test</scope>?

asymmetric commented 6 years ago

I see what's going on: they are only skipped when it's time to add them as first class dependencies, and the reason is that test dependencies are not transitive.