getPreferredVersion

The preferred version of a module (which may be an exact version or a version range). The preferred version of a module provides a hint when resolving the version, but will not be honored in the presence of conflicting constraints.

Return

the preferred version, or empty string if no preferred version specified. Never null.