if ( model.getDependencyManagement() != null )
{
if ( model.getDependencyManagement().getDependencies() != null )
{
// Attempt to find matching dep.
Predicate matchingDep = new MatchingDependencyPredicate( dependency );
Dependency depman = (Dependency) CollectionUtils.find( model.getDependencyManagement()
.getDependencies(), matchingDep );
if ( depman != null )
{