From 9af270beb1414531363aa1fcb6cba7565ca0075a Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Tue, 26 Oct 2010 00:39:07 +0200 Subject: Fixed NAR-165 --- src/test/java/org/apache/maven/plugin/nar/test/TestLinkerVersion.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/test') diff --git a/src/test/java/org/apache/maven/plugin/nar/test/TestLinkerVersion.java b/src/test/java/org/apache/maven/plugin/nar/test/TestLinkerVersion.java index ee8eede..6890b59 100644 --- a/src/test/java/org/apache/maven/plugin/nar/test/TestLinkerVersion.java +++ b/src/test/java/org/apache/maven/plugin/nar/test/TestLinkerVersion.java @@ -20,6 +20,7 @@ package org.apache.maven.plugin.nar.test; import org.apache.maven.plugin.nar.Linker; +import org.apache.maven.plugin.nar.NarProperties; import org.apache.maven.plugin.nar.NarUtil; import junit.framework.Assert; @@ -45,7 +46,7 @@ public class TestLinkerVersion String architecture = System.getProperty( "os.arch" ); linker = new Linker(); // String name = - linker.getName( NarUtil.getDefaults(), NarUtil.getArchitecture( architecture ) + "." + NarUtil.getOS( null ) + linker.getName( NarProperties.getInstance(null), NarUtil.getArchitecture( architecture ) + "." + NarUtil.getOS( null ) + "." ); } -- cgit v1.2.3