maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khmarba...@apache.org
Subject svn commit: r1683623 - /maven/plugins/trunk/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java
Date Thu, 04 Jun 2015 20:11:06 GMT
Author: khmarbaise
Date: Thu Jun  4 20:11:05 2015
New Revision: 1683623

URL: http://svn.apache.org/r1683623
Log:
Refactored code.

Modified:
    maven/plugins/trunk/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java

Modified: maven/plugins/trunk/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java?rev=1683623&r1=1683622&r2=1683623&view=diff
==============================================================================
--- maven/plugins/trunk/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java
(original)
+++ maven/plugins/trunk/maven-shade-plugin/src/main/java/org/apache/maven/plugins/shade/mojo/ShadeMojo.java
Thu Jun  4 20:11:05 2015
@@ -963,6 +963,13 @@ public class ShadeMojo
         addSystemScopedDependencyFromNonInterpolatedPom( dependencies, originalDependencies
);
 
         // Check to see if we have a reduction and if so rewrite the POM.
+        rewriteDependencyReducedPomIfWeHaveReduction( dependencies, modified, transitiveDeps,
model );
+    }
+
+    private void rewriteDependencyReducedPomIfWeHaveReduction( List<Dependency> dependencies,
boolean modified,
+                                                               List<Dependency> transitiveDeps,
Model model )
+        throws IOException, ProjectBuildingException, DependencyGraphBuilderException
+    {
         if ( modified )
         {
             while ( modified )



Mime
View raw message