diff options
author | Volker Schumacher <volker@antenna500.local> | 2010-01-14 21:47:44 +0800 |
---|---|---|
committer | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2010-01-17 03:54:18 +0800 |
commit | 73c685dd9cbd15cf59a125d73113034a3d456df9 (patch) | |
tree | ebea7792e96a708ebd616f65e92a4eaa9cc4e907 /src/main/java | |
parent | ebfc1610bfa27bdca8be951f251a5372fd1c8aed (diff) | |
download | maven-nar-plugin-73c685dd9cbd15cf59a125d73113034a3d456df9.tar.gz maven-nar-plugin-73c685dd9cbd15cf59a125d73113034a3d456df9.tar.bz2 maven-nar-plugin-73c685dd9cbd15cf59a125d73113034a3d456df9.tar.xz maven-nar-plugin-73c685dd9cbd15cf59a125d73113034a3d456df9.zip |
fixed bug that caused the wrong library name being composed from nar info of snapshot dependency when linking.
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/apache/maven/plugin/nar/NarManager.java | 2 |
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; |