コード例 #1
0
  public Iterable<Dependency> getDependencies(final ModelBase base) {
    List<Dependency> deps = base.getDependencies();
    if (deps == null) {
      deps = Collections.emptyList();
    }

    return deps;
  }
コード例 #2
0
  public Iterable<Dependency> getManagedDependencies(final ModelBase base) {
    final DependencyManagement dm = base.getDependencyManagement();
    if (dm == null || dm.getDependencies() == null) {
      return Collections.emptyList();
    }

    return dm.getDependencies();
  }
コード例 #3
0
  public List<ReportPlugin> getReportPlugins(final ModelBase base) {
    final Reporting reporting = base.getReporting();
    if (reporting == null) {
      return Collections.emptyList();
    }

    return reporting.getPlugins();
  }