{
this.legacyArtifactPath.setArtifact(
this.groupId + ":" + this.artifactId + ":" + this.version + ":" + this.classifier + ":" + this.type );
// Check the proposed Artifact macthes the path
ArtifactReference artifact = new ArtifactReference();
artifact.setGroupId( this.groupId );
artifact.setArtifactId( this.artifactId );
artifact.setClassifier( this.classifier );
artifact.setVersion( this.version );
artifact.setType( this.type );
String path = repositoryContent.toPath( artifact );
if ( !path.equals( this.legacyArtifactPath.getPath() ) )
{
addActionError( "artifact reference does not match the initial path : " + path );