summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/apache/maven/plugin/nar/NarManager.java2
1 files changed, 1 insertions, 1 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 476eee8..5cbcd10 100644
--- a/src/main/java/org/apache/maven/plugin/nar/NarManager.java
+++ b/src/main/java/org/apache/maven/plugin/nar/NarManager.java
@@ -297,7 +297,7 @@ public class NarManager
{
jar = new JarFile( file );
NarInfo info =
- new NarInfo( dependency.getGroupId(), dependency.getArtifactId(), dependency.getVersion(), log );
+ new NarInfo( dependency.getGroupId(), dependency.getArtifactId(), dependency.getBaseVersion(), log );
if ( !info.exists( jar ) )
{
return null;