1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 00:17:11 -07:00

Add the <modelVersion> tag to the generated pom.

Fixes https://github.com/cbeust/klaxon/issues/35.
This commit is contained in:
Cedric Beust 2016-07-21 00:22:35 -08:00
parent 156f58ba82
commit 0ca68c2c4f

View file

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