From 9855cc452552403305c558db16d0ec89f65fd28e Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Wed, 3 Jan 2018 13:57:27 -0800 Subject: [PATCH 1/5] Added execute task command. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 43c2fd3..f597904 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,12 @@ val p = project { } ``` +To invoke the `pom2xml` task: + +```sh +./kobaltw pom2xml +``` + The `pom.xml` file will be created in the project's directory. [View Example](https://github.com/ethauvin/kobalt-pom2xml/blob/master/example/kobalt/src/Build.kt) From 4d5e996de547bcd6de17761f6f5da9fb9335f6fa Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Wed, 3 Jan 2018 23:05:53 -0800 Subject: [PATCH 2/5] Fixed grammar. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f597904..b6dcbdb 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ The plug-in will generate a [Project Object Model](https://maven.apache.org/guides/introduction/introduction-to-the-pom.html) (POM) XML file for your project. -To use the plug-in include the following in `Build.kt` file: +To use the plug-in include the following in `Build.kt`: ```kotlin import net.thauvin.erik.kobalt.plugin.pom2xml.* From d3872b38b76d49b91809822b9bb53b2297d07078 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Thu, 4 Jan 2018 11:40:07 -0800 Subject: [PATCH 3/5] Fixed file name in header. --- .../net/thauvin/erik/kobalt/plugin/pom2xml/Pom2XmlPlugin.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/kotlin/net/thauvin/erik/kobalt/plugin/pom2xml/Pom2XmlPlugin.kt b/src/main/kotlin/net/thauvin/erik/kobalt/plugin/pom2xml/Pom2XmlPlugin.kt index a12dd47..52c6161 100644 --- a/src/main/kotlin/net/thauvin/erik/kobalt/plugin/pom2xml/Pom2XmlPlugin.kt +++ b/src/main/kotlin/net/thauvin/erik/kobalt/plugin/pom2xml/Pom2XmlPlugin.kt @@ -1,5 +1,5 @@ /* - * VersionEyePlugin.kt + * Pom2XmlPlugin.kt * * Copyright (c) 2018, Erik C. Thauvin (erik@thauvin.net) * All rights reserved. @@ -39,7 +39,6 @@ import com.beust.kobalt.api.annotation.Task import com.beust.kobalt.misc.warn import com.google.inject.Inject import com.google.inject.Singleton - import java.io.File @Singleton From bd74c5f3337758a3c28b713a9cbc82ad237783d0 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Thu, 4 Jan 2018 13:12:45 -0800 Subject: [PATCH 4/5] Fixed parameters description. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b6dcbdb..f9a566f 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,8 @@ 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`. +`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: From 3ba83d5562a2ce7d4a690cd51db94c14551f1705 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Mon, 18 Jun 2018 20:15:19 -0700 Subject: [PATCH 5/5] Fixed badges. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f9a566f..ea8298b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # pom2xml plug-in for [Kobalt](http://beust.com/kobalt/home/index.html) -[![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square)](http://opensource.org/licenses/BSD-3-Clause) [![release](http://github-release-version.herokuapp.com/github/ethauvin/kobalt-pom2xml/release.svg?style=flat)](https://github.com/ethauvin/kobalt-pom2xml/releases/latest) [![Build Status](https://travis-ci.org/ethauvin/kobalt-pom2xml.svg?branch=master)](https://travis-ci.org/ethauvin/kobalt-pom2xml) [![CircleCI](https://circleci.com/gh/ethauvin/kobalt-pom2xml/tree/master.svg?style=shield)](https://circleci.com/gh/ethauvin/kobalt-pom2xml/tree/master) [![Download](https://api.bintray.com/packages/ethauvin/maven/kobalt-pom2xml/images/download.svg) ](https://bintray.com/ethauvin/maven/kobalt-pom2xml/_latestVersion) +[![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square)](http://opensource.org/licenses/BSD-3-Clause) [![release](https://img.shields.io/github/release/ethauvin/kobalt-pom2xml.svg)](https://github.com/ethauvin/kobalt-pom2xml/releases/latest) [![Build Status](https://travis-ci.org/ethauvin/kobalt-pom2xml.svg?branch=master)](https://travis-ci.org/ethauvin/kobalt-pom2xml) [![CircleCI](https://circleci.com/gh/ethauvin/kobalt-pom2xml/tree/master.svg?style=shield)](https://circleci.com/gh/ethauvin/kobalt-pom2xml/tree/master) [![Download](https://api.bintray.com/packages/ethauvin/maven/kobalt-pom2xml/images/download.svg) ](https://bintray.com/ethauvin/maven/kobalt-pom2xml/_latestVersion) The plug-in will generate a [Project Object Model](https://maven.apache.org/guides/introduction/introduction-to-the-pom.html) (POM) XML file for your project.