FELIX-2371: features-maven-plugin cannot handle classifiers

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@952619 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/karaf/tooling/features-maven-plugin/src/main/java/org/apache/felix/karaf/tooling/features/AddFeaturesToRepoMojo.java b/karaf/tooling/features-maven-plugin/src/main/java/org/apache/felix/karaf/tooling/features/AddFeaturesToRepoMojo.java
index ae7c6ec..666d041 100644
--- a/karaf/tooling/features-maven-plugin/src/main/java/org/apache/felix/karaf/tooling/features/AddFeaturesToRepoMojo.java
+++ b/karaf/tooling/features-maven-plugin/src/main/java/org/apache/felix/karaf/tooling/features/AddFeaturesToRepoMojo.java
@@ -143,8 +143,7 @@
 
                 Artifact artifact;
                 try {
-                    artifact = this.factory.createArtifact(groupId, artifactId, version,
-                            (classifier != null ? classifier : ""), type);
+                    artifact = this.factory.createArtifactWithClassifier(groupId, artifactId, version, type, classifier);
                     getLog().info("Copying bundle: " + bundle);
                     resolver.resolve(artifact, this.remoteRepos, this.localRepo);
                     copy(new FileInputStream(artifact.getFile()),