public Iterable<Dependency> getDependencies(final ModelBase base) { List<Dependency> deps = base.getDependencies(); if (deps == null) { deps = Collections.emptyList(); } return deps; }
public Iterable<Dependency> getManagedDependencies(final ModelBase base) { final DependencyManagement dm = base.getDependencyManagement(); if (dm == null || dm.getDependencies() == null) { return Collections.emptyList(); } return dm.getDependencies(); }
public List<ReportPlugin> getReportPlugins(final ModelBase base) { final Reporting reporting = base.getReporting(); if (reporting == null) { return Collections.emptyList(); } return reporting.getPlugins(); }