Commit 6fbafc3c authored by Dave Syer's avatar Dave Syer

Add RUNTME scope to transitive dependencies in CLI

Fixes gh-977
parent e7aa192d
......@@ -195,7 +195,8 @@ public class AetherGrapeEngine implements GrapeEngine {
.getManagedDependencies());
DependencyRequest dependencyRequest = new DependencyRequest(collectRequest,
DependencyFilterUtils.classpathFilter(JavaScopes.COMPILE));
DependencyFilterUtils.classpathFilter(JavaScopes.COMPILE,
JavaScopes.RUNTIME));
DependencyResult dependencyResult = this.repositorySystem
.resolveDependencies(this.session, dependencyRequest);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment