You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2014/12/12 21:33:36 UTC

svn commit: r1645062 - /maven/plugins/trunk/maven-ear-plugin/src/main/java/org/apache/maven/plugin/ear/EarMojo.java

Author: khmarbaise
Date: Fri Dec 12 20:33:36 2014
New Revision: 1645062

URL: http://svn.apache.org/r1645062
Log:
[MEAR-182] Skinny WAR's - Skip Class-Path Modification in Manifest
 Followup: changed the logic cause it makes more sense in that way.

Modified:
    maven/plugins/trunk/maven-ear-plugin/src/main/java/org/apache/maven/plugin/ear/EarMojo.java

Modified: maven/plugins/trunk/maven-ear-plugin/src/main/java/org/apache/maven/plugin/ear/EarMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ear-plugin/src/main/java/org/apache/maven/plugin/ear/EarMojo.java?rev=1645062&r1=1645061&r2=1645062&view=diff
==============================================================================
--- maven/plugins/trunk/maven-ear-plugin/src/main/java/org/apache/maven/plugin/ear/EarMojo.java (original)
+++ maven/plugins/trunk/maven-ear-plugin/src/main/java/org/apache/maven/plugin/ear/EarMojo.java Fri Dec 12 20:33:36 2014
@@ -136,13 +136,13 @@ public class EarMojo
     /**
      * In case of using the {@link #skinnyWars} and {@link #defaultLibBundleDir} usually the
      * classpath will be modified.
-     * By using this option you can change this and keep the classpath untouched.
+     * By settings this option {@code true} you can change this and keep the classpath untouched.
      * This option has been introduced to keep the backward compatibility with earlier versions
      * of the plugin.
      * 
      * @since 2.10
      */
-    @Parameter( defaultValue = "true" )
+    @Parameter( defaultValue = "false" )
     private boolean skipClassPathModification;
 
     /**
@@ -804,7 +804,7 @@ public class EarMojo
                     }
                     else
                     {
-                        if ( skipClassPathModification )
+                        if ( !skipClassPathModification )
                         {
                             classPathElements.add( jm.getUri() );
                         }