Fix skipping of empty versions * When no version is specified, the entire `version` block is to be skipped. This was not the case due to a type mismatch. * However if a resolved version is to be written, then the block should never be skipped.
Rework `forSubgraph` as implied by `strictly` This commit removes a dedicated `forSubgraph` flag on version constraints, so that it is _implied_ by strict version constraints. This simplifies the behavior of `strictly`, making it closer to the intuitive semantics, while maintaining the ability to fail the build if a consumer brings an incompatible version in the graph.
As a consequence, _strict dependencies_ now express that the producer preference overrides whatever is found in its own dependency graph. It is closer to the "nearest first" semantics of Maven, while not having its drawbacks (ordering in particular).