diff options
author | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2009-10-30 10:09:04 +0100 |
---|---|---|
committer | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2009-10-30 10:09:04 +0100 |
commit | e621be5ab31eac1db15fcec24ab55202d793d51f (patch) | |
tree | eb6d7983561df4ea712ee66043b9004a8ed0dcf0 /src | |
parent | b508c3209c43ce26c378807ae37c53fa908faa5b (diff) | |
download | maven-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')
-rw-r--r-- | src/main/java/org/apache/maven/plugin/nar/NarSystemGenerate.java | 2 |
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); |