private String resolveSuggestedVersion( String baseVersion, String policyId )
throws PolicyException, VersionParseException
{
VersionPolicy policy = versionPolicies.get( policyId );
VersionPolicyRequest request = new VersionPolicyRequest().setVersion( baseVersion );
return convertToSnapshot ? policy.getDevelopmentVersion( request ).getVersion()
: policy.getReleaseVersion( request ).getVersion();
}