\r
public String commit()\r
{\r
- ArtifactReference artifact = this.legacyArtifactPath.getArtifactReference();\r
+ ArtifactReference artifact = new ArtifactReference();\r
+ \r
+ artifact.setGroupId( this.legacyArtifactPath.getGroupId() );\r
+ artifact.setArtifactId( this.legacyArtifactPath.getArtifactId() );\r
+ artifact.setClassifier( this.legacyArtifactPath.getClassifier() );\r
+ artifact.setVersion( this.legacyArtifactPath.getVersion() );\r
+ artifact.setType( this.legacyArtifactPath.getType() );\r
+ \r
String path = repositoryContent.toPath( artifact );\r
if ( ! path.equals( this.legacyArtifactPath.getPath() ) )\r
{\r