[castor-maven-plugin] 05/05: Disable the tests without patching the pom

Emmanuel Bourg ebourg-guest at alioth.debian.org
Sun Sep 8 22:26:36 UTC 2013


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

ebourg-guest pushed a commit to branch master
in repository castor-maven-plugin.

commit a5ffd8fecfa4b4666f8d9123602fb057e86708f3
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Sep 9 00:25:06 2013 +0200

    Disable the tests without patching the pom
---
 debian/maven.properties     |    1 +
 debian/patches/fix_pom.diff |   21 +--------------------
 2 files changed, 2 insertions(+), 20 deletions(-)

diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..d2f1b82
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1 @@
+maven.test.skip=true
diff --git a/debian/patches/fix_pom.diff b/debian/patches/fix_pom.diff
index e803372..3353a67 100644
--- a/debian/patches/fix_pom.diff
+++ b/debian/patches/fix_pom.diff
@@ -1,10 +1,7 @@
-Description: Add missing information and disable tests in POM file
+Description: Add missing information in POM file
 Author: Miguel Landaeta <miguel at miguel.cc>
 Forwarded: not-needed
 Last-Update: 2010-06-24
-
-diff --git a/pom.xml b/pom.xml
-index 8dc91a8..009f6f4 100644
 --- a/pom.xml
 +++ b/pom.xml
 @@ -5,6 +5,7 @@
@@ -15,19 +12,3 @@ index 8dc91a8..009f6f4 100644
     <artifactId>castor-maven-plugin</artifactId>
     <packaging>maven-plugin</packaging>
     <name>Castor Maven Plugin</name>
-@@ -41,6 +42,8 @@
-     -->
-     
-    <build>
-+      <!-- disable tests due to missing dependencies in Debian -->
-+      <testSourceDirectory>/dev/null</testSourceDirectory>
-       <plugins>
-          <plugin>
-             <groupId>org.apache.maven.plugins</groupId> 
-@@ -155,4 +158,4 @@
-          </plugin>
-       </plugins>
-    </reporting>
--</project>
-\ No newline at end of file
-+</project>

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



More information about the pkg-java-commits mailing list