summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/apache/maven/plugin/nar/NarCompileMojo.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/apache/maven/plugin/nar/NarCompileMojo.java b/src/main/java/org/apache/maven/plugin/nar/NarCompileMojo.java
index 08a8ff1..fad50fa 100644
--- a/src/main/java/org/apache/maven/plugin/nar/NarCompileMojo.java
+++ b/src/main/java/org/apache/maven/plugin/nar/NarCompileMojo.java
@@ -309,13 +309,13 @@ public class NarCompileMojo
// FIXME no handling of "local"
// FIXME, no way to override this at this stage
- String binding = dependency.getNarInfo().getBinding( getAOL(), Library.STATIC );
+ String binding = dependency.getNarInfo().getBinding( getAOL(), Library.NONE );
getLog().debug( "Using Binding: " + binding );
AOL aol = getAOL();
aol = dependency.getNarInfo().getAOL( getAOL() );
getLog().debug( "Using Library AOL: " + aol.toString() );
- if ( !binding.equals( Library.JNI ) )
+ if ( !binding.equals( Library.JNI ) && !binding.equals( Library.NONE ) )
{
File unpackDirectory = getUnpackDirectory();