summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorMark Donszelmann <Mark.Donszelmann@gmail.com>2009-10-30 12:23:11 +0100
committerMark Donszelmann <Mark.Donszelmann@gmail.com>2009-10-30 12:23:11 +0100
commitac7cfb417f4b039bf2cdea1eb7e69ee091cd9d21 (patch)
tree8e506ee895011f05e5a32631818cd6e184a5ad09 /src/main
parentfb0fba2f15f4e51628bf2d33d7afa5a7247fcf85 (diff)
downloadmaven-nar-plugin-ac7cfb417f4b039bf2cdea1eb7e69ee091cd9d21.tar.gz
maven-nar-plugin-ac7cfb417f4b039bf2cdea1eb7e69ee091cd9d21.tar.bz2
maven-nar-plugin-ac7cfb417f4b039bf2cdea1eb7e69ee091cd9d21.tar.xz
maven-nar-plugin-ac7cfb417f4b039bf2cdea1eb7e69ee091cd9d21.zip
Fixed NAR-33
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/apache/maven/plugin/nar/NarManager.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/apache/maven/plugin/nar/NarManager.java b/src/main/java/org/apache/maven/plugin/nar/NarManager.java
index f1df3c9..6ba9786 100644
--- a/src/main/java/org/apache/maven/plugin/nar/NarManager.java
+++ b/src/main/java/org/apache/maven/plugin/nar/NarManager.java
@@ -256,6 +256,8 @@ public class NarManager
;
File file = new File( repository.getBasedir(), repository.pathOf( dependency ) );
+ if (!file.exists()) return null;
+
JarFile jar = null;
try
{