From 8e343246b9e27c79504d16ceb70363a74ed781ea Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Sun, 27 Mar 2016 13:28:42 -0700 Subject: [PATCH] Make the classifier part of the shortId. --- .../src/main/kotlin/com/beust/kobalt/maven/aether/Aether.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/aether/Aether.kt b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/aether/Aether.kt index 77aaa13b..85b31154 100644 --- a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/aether/Aether.kt +++ b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/aether/Aether.kt @@ -209,7 +209,7 @@ class AetherDependency(val artifact: Artifact): IClasspathDependency, Comparable return result } - override val shortId = artifact.groupId + ":" + artifact.artifactId + override val shortId = artifact.groupId + ":" + artifact.artifactId + ":" + artifact.classifier override fun compareTo(other: AetherDependency): Int { return Versions.toLongVersion(artifact.version).compareTo(Versions.toLongVersion(