From e221fb2087ef245f204ed207da2a4c1b0af305f0 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Thu, 29 Oct 2015 23:17:28 -0700 Subject: [PATCH] Warnings. --- src/main/kotlin/com/beust/kobalt/maven/IClasspathDependency.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/beust/kobalt/maven/IClasspathDependency.kt b/src/main/kotlin/com/beust/kobalt/maven/IClasspathDependency.kt index 8d012e9a..d64ba390 100644 --- a/src/main/kotlin/com/beust/kobalt/maven/IClasspathDependency.kt +++ b/src/main/kotlin/com/beust/kobalt/maven/IClasspathDependency.kt @@ -62,7 +62,7 @@ open public class FileDependency(open val fileName: String) : IClasspathDependen override fun toMavenDependencies(): org.apache.maven.model.Dependency { with(org.apache.maven.model.Dependency()) { - setSystemPath(jarFile.get().getAbsolutePath()) + systemPath = jarFile.get().absolutePath return this } }