[maven-debian-helper] 01/03: Fixed 3 NullPointerExceptions in InstallMojoTest

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Feb 4 16:06:20 UTC 2014


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

ebourg-guest pushed a commit to branch master
in repository maven-debian-helper.

commit 6503785cb8eb4514ded43a1d883d10a4e92a7e08
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Feb 4 15:26:19 2014 +0100

    Fixed 3 NullPointerExceptions in InstallMojoTest
---
 .../src/test/java/org/debian/maven/plugin/InstallMojoTest.java      | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian-maven-plugin/src/test/java/org/debian/maven/plugin/InstallMojoTest.java b/debian-maven-plugin/src/test/java/org/debian/maven/plugin/InstallMojoTest.java
index a25187a..650c528 100644
--- a/debian-maven-plugin/src/test/java/org/debian/maven/plugin/InstallMojoTest.java
+++ b/debian-maven-plugin/src/test/java/org/debian/maven/plugin/InstallMojoTest.java
@@ -74,6 +74,8 @@ public class InstallMojoTest {
         mojo.setInstallToUsj(false);
         mojo.setJarDir(getFileInClasspath("plexus-compiler/plexus-compiler-test/target/plexus-compiler-test-1.8.2.jar").getParentFile().getAbsolutePath());
         mojo.setMavenRules("maven.rules");
+        mojo.setMavenIgnoreRules("maven.ignoreRules");
+        mojo.setMavenPublishedRules("maven.publishedRules");
         mojo.setNoUsjVersionless(false);
         mojo.setDebianPackage("libplexus-compiler-java");
         mojo.setDestPackage("libplexus-compiler-java");
@@ -108,6 +110,8 @@ public class InstallMojoTest {
         mojo.setInstallToUsj(true);
         mojo.setJarDir(getFileInClasspath("plexus-compiler/plexus-compiler-api/target/plexus-compiler-api-1.8.2.jar").getParentFile().getAbsolutePath());
         mojo.setMavenRules("maven.rules");
+        mojo.setMavenIgnoreRules("maven.ignoreRules");
+        mojo.setMavenPublishedRules("maven.publishedRules");
         mojo.setNoUsjVersionless(false);
         mojo.setDebianPackage("libplexus-compiler-java");
         mojo.setDestPackage("libplexus-compiler-java");
@@ -150,6 +154,8 @@ public class InstallMojoTest {
         mojo.setInstallToUsj(false);
         mojo.setJarDir(getFileInClasspath("plexus-compiler/plexus-compiler-test/target/plexus-compiler-test-1.8.2.jar").getParentFile().getAbsolutePath());
         mojo.setMavenRules("maven.rules");
+        mojo.setMavenIgnoreRules("maven.ignoreRules");
+        mojo.setMavenPublishedRules("maven.publishedRules");
         mojo.setNoUsjVersionless(false);
         mojo.setDebianPackage("libplexus-compiler-java");
         mojo.setDestPackage("libplexus-compiler-java");

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



More information about the pkg-java-commits mailing list