Skip to content

Commit

Permalink
Fix conversion of Ivy to XMvn artifacts
Browse files Browse the repository at this point in the history
Classifiers could be lost is some cases when converting Ivy artifact
to XMvn artifact.

Resolves: rhbz#1127804
  • Loading branch information
mizdebsk committed Oct 28, 2014
1 parent a8766af commit bcad3a7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ private static org.fedoraproject.xmvn.artifact.Artifact ivy2aether( org.apache.i
ModuleRevisionId revision = artifact.getModuleRevisionId();

String groupId = revision.getOrganisation();
String artifactId = revision.getName();
String artifactId = artifact.getName();
String extension = artifact.getExt();
String classifier = revision.getExtraAttribute( "classifier" );
String classifier = artifact.getExtraAttribute( "classifier" );
String version = revision.getRevision();
String type = artifact.getType();

Expand Down

0 comments on commit bcad3a7

Please sign in to comment.