karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r1539252 - /karaf/trunk/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/DependencyHelper.java
Date Wed, 06 Nov 2013 07:45:40 GMT
Author: jbonofre
Date: Wed Nov  6 07:45:40 2013
New Revision: 1539252

URL: http://svn.apache.org/r1539252
Log:
[KARAF-2470] Prevent to recurse in dependencies if transitive dependencies are excluded

Modified:
    karaf/trunk/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/DependencyHelper.java

Modified: karaf/trunk/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/DependencyHelper.java
URL: http://svn.apache.org/viewvc/karaf/trunk/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/DependencyHelper.java?rev=1539252&r1=1539251&r2=1539252&view=diff
==============================================================================
--- karaf/trunk/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/DependencyHelper.java
(original)
+++ karaf/trunk/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/DependencyHelper.java
Wed Nov  6 07:45:40 2013
@@ -233,7 +233,7 @@ public class DependencyHelper {
                         isFromFeature = true;
                     }
                 }
-                if (accept.isContinue()) {
+                if (useTransitiveDependencies && accept.isContinue()) {
                     List<DependencyNode> children = dependencyNode.getChildren();
                     for (DependencyNode child : children) {
                         scan(child, accept, useTransitiveDependencies, isFromFeature, indent
+ "  ");



Mime
View raw message