Add a single dependency with the specified classifier and type and, optionally, all
of its dependencies. The group ID and version of the dependency are resolved from
the module by using the customizer's ArtifactCoordinatesResolver.
module - the module ID
classifier - the classifier, may be null
type - the type, may be null
transitive - true if the transitive dependencies should also be added,