From 0ca68c2c4f162d73293495fa8f550f071fadb222 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Thu, 21 Jul 2016 00:22:35 -0800 Subject: [PATCH] Add the tag to the generated pom. Fixes https://github.com/cbeust/klaxon/issues/35. --- .../src/main/kotlin/com/beust/kobalt/maven/PomGenerator.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/PomGenerator.kt b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/PomGenerator.kt index 2c050206..a7c11320 100644 --- a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/PomGenerator.kt +++ b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/PomGenerator.kt @@ -28,6 +28,7 @@ class PomGenerator @Inject constructor(@Assisted val project: Project) { if (name == null) name = project.name if (artifactId == null) artifactId = project.artifactId if (groupId == null) groupId = project.group + if (modelVersion == null) modelVersion = "4.0.0" if (version == null) version = project.version if (description == null) description = project.description if (url == null) url = project.url