use of org.apache.maven.model.BuildBase in project unleash-maven-plugin by shillner.
the class CheckPluginVersions method getSnapshots.
private Set<ArtifactCoordinates> getSnapshots(Profile profile, PomPropertyResolver propertyResolver) {
this.log.debug("\t\tChecking direct plugin references of profile '" + profile.getId() + "'");
BuildBase build = profile.getBuild();
if (build != null) {
Collection<Plugin> snapshots = Collections2.filter(build.getPlugins(), new IsSnapshotPlugin(propertyResolver));
return Sets.newHashSet(Collections2.transform(snapshots, PluginToCoordinates.INSTANCE));
}
return Collections.emptySet();
}
Aggregations