diff options
author | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2009-10-30 12:23:11 +0100 |
---|---|---|
committer | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2009-10-30 12:23:11 +0100 |
commit | ac7cfb417f4b039bf2cdea1eb7e69ee091cd9d21 (patch) | |
tree | 8e506ee895011f05e5a32631818cd6e184a5ad09 /src/main | |
parent | fb0fba2f15f4e51628bf2d33d7afa5a7247fcf85 (diff) | |
download | maven-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.java | 2 |
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 { |