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 } }