summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/apache/maven/plugin/nar/NarLayout21.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/apache/maven/plugin/nar/NarLayout21.java b/src/main/java/org/apache/maven/plugin/nar/NarLayout21.java
index 6d8433b..bf06c95 100644
--- a/src/main/java/org/apache/maven/plugin/nar/NarLayout21.java
+++ b/src/main/java/org/apache/maven/plugin/nar/NarLayout21.java
@@ -158,12 +158,12 @@ public class NarLayout21
else
{
// and not set or override if SHARED
- if ( ( narInfo.getBinding( aol, null ) == null ) || type.equals( Library.SHARED ) )
+ if ( ( narInfo.getBinding( aol, null ) == null ) || !type.equals( Library.SHARED ) )
{
narInfo.setBinding( aol, type );
}
// and not set or override if SHARED
- if ( ( narInfo.getBinding( null, null ) == null ) || type.equals( Library.SHARED ) )
+ if ( ( narInfo.getBinding( null, null ) == null ) || !type.equals( Library.SHARED ) )
{
narInfo.setBinding( null, type );
}
@@ -218,4 +218,4 @@ public class NarLayout21
FileUtils.basename( narFile.getPath(), "." + NarConstants.NAR_EXTENSION ));
return dir;
}
-} \ No newline at end of file
+}