Moved to Gemnasium since VersionEye is shutting down.
This commit is contained in:
parent
ddfab0fe3b
commit
514e226f8a
3 changed files with 47 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Semantic Version Annotation Processor
|
# Semantic Version Annotation Processor
|
||||||
|
|
||||||
[](http://opensource.org/licenses/BSD-3-Clause) [](https://github.com/ethauvin/semver/releases/latest) [](https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik/semver) [  ](https://bintray.com/ethauvin/maven/SemVer/_latestVersion)
|
[](http://opensource.org/licenses/BSD-3-Clause) [](https://github.com/ethauvin/semver/releases/latest) [](https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik/semver) [  ](https://bintray.com/ethauvin/maven/SemVer/_latestVersion)
|
||||||
[](https://www.versioneye.com/user/projects/56a680101b78fd00390001d2) [](https://travis-ci.org/ethauvin/semver) [](https://ci.appveyor.com/project/ethauvin/semver) [](https://circleci.com/gh/ethauvin/semver/tree/master)
|
[](https://beta.gemnasium.com/projects/github.com/ethauvin/semver) [](https://travis-ci.org/ethauvin/semver) [](https://ci.appveyor.com/project/ethauvin/semver) [](https://circleci.com/gh/ethauvin/semver/tree/master)
|
||||||
|
|
||||||
An [annotation processor](https://docs.oracle.com/javase/8/docs/api/javax/annotation/processing/Processor.html) that automatically generates a `GeneratedVersion` class based on a [Mustache](https://mustache.github.io/) template and containing the [semantic version](http://semver.org/) (major, minor, patch, etc.) that is read from a `Properties` file or defined in the [annotation](https://docs.oracle.com/javase/tutorial/java/annotations/basics.html).
|
An [annotation processor](https://docs.oracle.com/javase/8/docs/api/javax/annotation/processing/Processor.html) that automatically generates a `GeneratedVersion` class based on a [Mustache](https://mustache.github.io/) template and containing the [semantic version](http://semver.org/) (major, minor, patch, etc.) that is read from a `Properties` file or defined in the [annotation](https://docs.oracle.com/javase/tutorial/java/annotations/basics.html).
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ import com.beust.kobalt.plugin.publish.bintray
|
||||||
import com.beust.kobalt.project
|
import com.beust.kobalt.project
|
||||||
import net.thauvin.erik.kobalt.plugin.exec.Os
|
import net.thauvin.erik.kobalt.plugin.exec.Os
|
||||||
import net.thauvin.erik.kobalt.plugin.exec.exec
|
import net.thauvin.erik.kobalt.plugin.exec.exec
|
||||||
import net.thauvin.erik.kobalt.plugin.versioneye.versionEye
|
import net.thauvin.erik.kobalt.plugin.pom2xml.pom2xml
|
||||||
import org.apache.maven.model.Developer
|
import org.apache.maven.model.Developer
|
||||||
import org.apache.maven.model.License
|
import org.apache.maven.model.License
|
||||||
import org.apache.maven.model.Model
|
import org.apache.maven.model.Model
|
||||||
|
@ -20,7 +20,7 @@ import java.util.*
|
||||||
val bs = buildScript {
|
val bs = buildScript {
|
||||||
repos(localMaven())
|
repos(localMaven())
|
||||||
plugins("net.thauvin.erik:kobalt-exec:",
|
plugins("net.thauvin.erik:kobalt-exec:",
|
||||||
"net.thauvin.erik:kobalt-versioneye:")
|
"net.thauvin.erik:kobalt-pom2xml:")
|
||||||
}
|
}
|
||||||
|
|
||||||
fun StringBuilder.prepend(s: String): StringBuilder {
|
fun StringBuilder.prepend(s: String): StringBuilder {
|
||||||
|
@ -134,8 +134,7 @@ val semver = project {
|
||||||
commandLine("cmd", "/c", "pandoc", *args, os = setOf(Os.WINDOWS))
|
commandLine("cmd", "/c", "pandoc", *args, os = setOf(Os.WINDOWS))
|
||||||
}
|
}
|
||||||
|
|
||||||
versionEye {
|
pom2xml {
|
||||||
org = "thauvin"
|
|
||||||
team = "Owners"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
42
pom.xml
Normal file
42
pom.xml
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<groupId>net.thauvin.erik</groupId>
|
||||||
|
<artifactId>semver</artifactId>
|
||||||
|
<version>1.0.1</version>
|
||||||
|
<name>semver</name>
|
||||||
|
<description>Semantic Version Annotation Processor</description>
|
||||||
|
<url>https://github.com/ethauvin/semver</url>
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>BSD 3-Clause</name>
|
||||||
|
<url>https://opensource.org/licenses/BSD-3-Clause</url>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
<developers>
|
||||||
|
<developer>
|
||||||
|
<id>ethauvin</id>
|
||||||
|
<name>Erik C. Thauvin</name>
|
||||||
|
<email>erik@thauvin.net</email>
|
||||||
|
</developer>
|
||||||
|
</developers>
|
||||||
|
<scm>
|
||||||
|
<connection>https://github.com/ethauvin/semver.git</connection>
|
||||||
|
<developerConnection>git@github.com:ethauvin/semver.git</developerConnection>
|
||||||
|
<url>https://github.com/ethauvin/semver</url>
|
||||||
|
</scm>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.github.spullara.mustache.java</groupId>
|
||||||
|
<artifactId>compiler</artifactId>
|
||||||
|
<version>0.9.5</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.testng</groupId>
|
||||||
|
<artifactId>testng</artifactId>
|
||||||
|
<version>6.13.1</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</project>
|
Loading…
Add table
Add a link
Reference in a new issue