private static Artifact createMockArtifact( final String groupId, final String artifactId,
final String versionRange, final String scope, final String type,
final String classifier )
{
ArtifactHandler artifactHandler = new DefaultArtifactHandler();
VersionRange version = VersionRange.createFromVersion( versionRange );
return new DefaultArtifact( groupId, artifactId, version, scope, type, classifier, artifactHandler );
}