//specified in the model object/pom
Artifact modelArtifact = artifactFactory.createArtifactWithClassifier( model.getGroupId(), model
.getArtifactId(), model.getVersion(), artifact.getType(), artifact.getClassifier() );
adjustDistributionArtifactHandler( modelArtifact );
String modelPath = repository.pathOf( modelArtifact );
if ( !modelPath.equals( artifactPath ) )
{
addFailure( artifact, "repository-pom-location",
"The artifact is out of place. It does not match the specified location in the repository pom: "
+ modelPath );