From 73c685dd9cbd15cf59a125d73113034a3d456df9 Mon Sep 17 00:00:00 2001 From: Volker Schumacher Date: Thu, 14 Jan 2010 21:47:44 +0800 Subject: fixed bug that caused the wrong library name being composed from nar info of snapshot dependency when linking. --- src/main/java/org/apache/maven/plugin/nar/NarManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3