From 7073a7c7adbf0b78afb6a7204036dfcc2ce6bb48 Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Fri, 22 Jul 2005 14:18:04 +0000 Subject: [PATCH] use type handler's classifier git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220326 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/maven/artifact/DefaultArtifact.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java b/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java index d74cac7de4..c47727f895 100644 --- a/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java +++ b/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java @@ -86,6 +86,11 @@ public class DefaultArtifact this.type = type; + if ( classifier == null ) + { + classifier = artifactHandler.getClassifier(); + } + this.classifier = classifier; validateIdentity();