summaryrefslogtreecommitdiff
path: root/src/test/java/org/apache/maven
diff options
context:
space:
mode:
authorMark Donszelmann <duns@macserver.donszelmann.org>2010-10-26 00:39:07 +0200
committerMark Donszelmann <duns@macserver.donszelmann.org>2010-10-26 00:39:07 +0200
commit9af270beb1414531363aa1fcb6cba7565ca0075a (patch)
tree3f7beb686b56789c1a535f185d33b74a49b074e7 /src/test/java/org/apache/maven
parent7482bfe33dc8db7ccc1b02d80f6c3b6dbac601ca (diff)
downloadmaven-nar-plugin-9af270beb1414531363aa1fcb6cba7565ca0075a.tar.gz
maven-nar-plugin-9af270beb1414531363aa1fcb6cba7565ca0075a.tar.bz2
maven-nar-plugin-9af270beb1414531363aa1fcb6cba7565ca0075a.tar.xz
maven-nar-plugin-9af270beb1414531363aa1fcb6cba7565ca0075a.zip
Fixed NAR-165
Diffstat (limited to 'src/test/java/org/apache/maven')
-rw-r--r--src/test/java/org/apache/maven/plugin/nar/test/TestLinkerVersion.java3
1 files changed, 2 insertions, 1 deletions
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 )
+ "." );
}