Erik's Weblog 2.0

January 3, 2018

[@998]

pom2xml Plug-in for Kobalt Released!

The pom2xml plug-in will generate a Project Object Model (POM) XML file for your Kobalt project.

To use the plug-in include the following in Build.kt:

import net.thauvin.erik.kobalt.plugin.pom2xml.*
val bs = buildScript {
plugins("net.thauvin.erik:kobalt-pom2xml:")
}
val p = project {
name = "example"
group = "com.example"
artifactId = name
version = "0.1"
pom2xml {
}
}

To invoke the pom2xml task:

./kobaltw pom2xml

The pom.xml will be created in the project's directory.

Documentation and source are on GitHub.