diff options
Diffstat (limited to 'src')
-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 { |