[testng] 01/02: Add patch for Version.java

Eugene Zhukov eugene-guest at moszumanska.debian.org
Wed Aug 19 16:02:50 UTC 2015


This is an automated email from the git hooks/post-receive script.

eugene-guest pushed a commit to branch master
in repository testng.

commit 9d88a5379a04f1525891bf2037a1cf199a616ebd
Author: Eugene Zhukov <jevgeni.zh at gmail.com>
Date:   Tue Aug 18 18:05:41 2015 +0000

    Add patch for Version.java
---
 debian/changelog                  |  7 +++++++
 debian/maven.ignoreRules          |  1 +
 debian/patches/series             |  1 +
 debian/patches/version_java.patch | 18 ++++++++++++++++++
 4 files changed, 27 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 7cb1bb5..224e97b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+testng (6.9.5-1) UNRELEASED; urgency=medium
+
+  * Add copy-rename-maven-plugin to d/maven.ignoreRules
+  * Add patch for Version.java
+
+ -- Eugene Zhukov <jevgeni.zh at gmail.com>  Tue, 18 Aug 2015 10:27:45 +0000
+
 testng (6.9.4-2) unstable; urgency=medium
 
   * maven.properties: Add UTF-8 source encoding
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
index 64299db..5c21bbc 100644
--- a/debian/maven.ignoreRules
+++ b/debian/maven.ignoreRules
@@ -1,4 +1,5 @@
 
+com.coderplus.maven.plugins copy-rename-maven-plugin * * * *
 org.apache.maven.plugins maven-gpg-plugin * * * *
 org.apache.maven.plugins maven-javadoc-plugin * * * *
 org.apache.maven.plugins maven-release-plugin * * * *
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1fc116a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+version_java.patch
diff --git a/debian/patches/version_java.patch b/debian/patches/version_java.patch
new file mode 100644
index 0000000..0fa80b2
--- /dev/null
+++ b/debian/patches/version_java.patch
@@ -0,0 +1,18 @@
+Description: Adds a version implementation
+ * Adds Version.java file, which in upstream implementation is managed by
+   copy-rename-maven-plugin.
+
+Author: Eugene Zhukov <jevgeni.zh at gmail.com>
+
+--- /dev/null
++++ b/src/main/java/org/testng/internal/Version.java
+@@ -0,0 +1,9 @@
++package org.testng.internal;
++
++public class Version {
++  public static final String VERSION = "6.9.5";
++
++  public static void displayBanner() {
++    System.out.println("...\n... TestNG " + VERSION + " by Cédric Beust (cedric at beust.com)\n...\n");
++  }
++}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/testng.git



More information about the pkg-java-commits mailing list