summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);