[jackson-jaxrs-providers] 08/162: Add skeletal version template
Timo Aaltonen
tjaalton at moszumanska.debian.org
Mon Sep 8 22:16:22 UTC 2014
This is an automated email from the git hooks/post-receive script.
tjaalton pushed a commit to branch master
in repository jackson-jaxrs-providers.
commit 93dc1352864d5782eb231740086351189a478313
Author: Tatu Saloranta <tsaloranta at gmail.com>
Date: Mon Feb 4 14:41:46 2013 -0800
Add skeletal version template
---
.../jackson/jaxrs/smile/PackageVersion.java.in | 20 ++++++++++++++++++++
.../jackson/jaxrs/xml/PackageVersion.java.in | 20 ++++++++++++++++++++
2 files changed, 40 insertions(+)
diff --git a/smile/src/main/java/com/fasterxml/jackson/jaxrs/smile/PackageVersion.java.in b/smile/src/main/java/com/fasterxml/jackson/jaxrs/smile/PackageVersion.java.in
new file mode 100644
index 0000000..7860aa1
--- /dev/null
+++ b/smile/src/main/java/com/fasterxml/jackson/jaxrs/smile/PackageVersion.java.in
@@ -0,0 +1,20 @@
+package @package@;
+
+import com.fasterxml.jackson.core.Version;
+import com.fasterxml.jackson.core.Versioned;
+import com.fasterxml.jackson.core.util.VersionUtil;
+
+/**
+ * Automatically generated from PackageVersion.java.in during
+ * packageVersion-generate execution of maven-replacer-plugin in
+ * pom.xml.
+ */
+public final class PackageVersion implements Versioned {
+ public final static Version VERSION = VersionUtil.parseVersion(
+ "@projectversion@", "@projectgroupid@", "@projectartifactid@");
+
+ @Override
+ public Version version() {
+ return VERSION;
+ }
+}
diff --git a/xml/src/main/java/com/fasterxml/jackson/jaxrs/xml/PackageVersion.java.in b/xml/src/main/java/com/fasterxml/jackson/jaxrs/xml/PackageVersion.java.in
new file mode 100644
index 0000000..7860aa1
--- /dev/null
+++ b/xml/src/main/java/com/fasterxml/jackson/jaxrs/xml/PackageVersion.java.in
@@ -0,0 +1,20 @@
+package @package@;
+
+import com.fasterxml.jackson.core.Version;
+import com.fasterxml.jackson.core.Versioned;
+import com.fasterxml.jackson.core.util.VersionUtil;
+
+/**
+ * Automatically generated from PackageVersion.java.in during
+ * packageVersion-generate execution of maven-replacer-plugin in
+ * pom.xml.
+ */
+public final class PackageVersion implements Versioned {
+ public final static Version VERSION = VersionUtil.parseVersion(
+ "@projectversion@", "@projectgroupid@", "@projectartifactid@");
+
+ @Override
+ public Version version() {
+ return VERSION;
+ }
+}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jackson-jaxrs-providers.git
More information about the pkg-java-commits
mailing list