summaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorMark Donszelmann <Mark.Donszelmann@gmail.com>2009-10-30 10:09:04 +0100
committerMark Donszelmann <Mark.Donszelmann@gmail.com>2009-10-30 10:09:04 +0100
commite621be5ab31eac1db15fcec24ab55202d793d51f (patch)
treeeb6d7983561df4ea712ee66043b9004a8ed0dcf0 /src/main/java/org
parentb508c3209c43ce26c378807ae37c53fa908faa5b (diff)
downloadmaven-nar-plugin-e621be5ab31eac1db15fcec24ab55202d793d51f.tar.gz
maven-nar-plugin-e621be5ab31eac1db15fcec24ab55202d793d51f.tar.bz2
maven-nar-plugin-e621be5ab31eac1db15fcec24ab55202d793d51f.tar.xz
maven-nar-plugin-e621be5ab31eac1db15fcec24ab55202d793d51f.zip
NPE fix for NAR-98
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/apache/maven/plugin/nar/NarSystemGenerate.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/apache/maven/plugin/nar/NarSystemGenerate.java b/src/main/java/org/apache/maven/plugin/nar/NarSystemGenerate.java
index 988300d..e3c8161 100644
--- a/src/main/java/org/apache/maven/plugin/nar/NarSystemGenerate.java
+++ b/src/main/java/org/apache/maven/plugin/nar/NarSystemGenerate.java
@@ -63,7 +63,7 @@ public class NarSystemGenerate
}
}
- if ( !jniFound )
+ if ( !jniFound || packageName == null)
return;
File narSystemTarget = new File(getMavenProject().getBasedir(), narSystemDirectory);