Project Object Model (POM) generation for the Kobalt build system https://github.com/ethauvin/kobalt-pom2xml
Find a file
2018-01-02 18:28:27 -08:00
.circleci More cleanup. 2018-01-02 17:59:00 -08:00
.idea IDEA updates 2018-01-02 18:28:27 -08:00
example Kobalt update. 2018-01-02 18:28:02 -08:00
kobalt IDEA updates 2018-01-02 18:28:27 -08:00
src/main Added check to see if location directory exists. 2018-01-02 18:27:30 -08:00
.gitattributes Initial commit 2018-01-02 17:45:11 -08:00
.gitignore Initial commit 2018-01-02 17:45:11 -08:00
.travis.yml More cleanup. 2018-01-02 17:59:00 -08:00
clean.sh Initial commit 2018-01-02 17:45:11 -08:00
kobalt-pom2xml.iml IDEA updates 2018-01-02 18:28:27 -08:00
kobaltw Cleanup. 2018-01-02 17:54:31 -08:00
kobaltw.bat Initial commit 2018-01-02 17:45:11 -08:00
LICENSE.TXT Initial commit 2018-01-02 17:45:11 -08:00
README.md Cleanup. 2018-01-02 17:54:31 -08:00

pom2xml plug-in for Kobalt

License (3-Clause BSD) release Build Status CircleCI Download

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

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

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 {

    }
}

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

View Example

Parameters

The following optional configuration parameters are available.

Attribute Description
name The directory location to save the POM file to, defaults to the project directory.
loc The name of the POM file, defaults to pom.xml.

For example:

    pom2xml {
        name = "pom-test.xml"
        loc = "foo/bar"
    }