private List < Dependency > getProvisionableDependencies ( ) { List < Dependency > dependencies = new ArrayList < Dependency > ( ) ; getLog ( ) . info ( "Adding dependencies in scope " + dependencyScope ) ; for ( Dependency d : getDependencies ( ) ) { if ( d . getScope ( ) != null && d . getScope ( ) . equalsIgnoreCase ( dependencyScope ) ) { dependencies . add ( d ) ; } } return dependencies ; }
Dependency resolution inspired by servicemix depends - maven - plguin