Consumer POM: keep only transitive dependencies; drop non-transitive scopes (original) (raw)

Context:
Maven 4 introduces refined dependency scopes and a consumer POM generator that attempts to create a Maven 3-consumable POM. We need to align consumer POM generation with scope transitivity semantics.

Proposal: