Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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:

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 file will be created in the project's directory.

View Example

Parameters

The following optional configuration parameters are available.

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

For example:

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

About

Project Object Model (POM) generation for the Kobalt build system

Topics

Resources

License

Packages

No packages published
You can’t perform that action at this time.