if ( getReportPlugins() != null ) for ( Iterator iterator = getReportPlugins().iterator(); iterator.hasNext(); )
if ( getReportPlugins() != null ) for ( ReportPlugin plugin : getReportPlugins() )
List reportPlugins = project.getReportPlugins(); if ( reportPlugins != null )
for ( ReportPlugin report : project.getReportPlugins() )
project.setReportArtifacts( createReportArtifacts( projectId, project.getReportPlugins() ) );
public List<Plugin> getReportPlugins() { return wrapped.getReportPlugins(); }
@SuppressWarnings("unchecked") private boolean isReportPluginRegistered(final String reportArtifactId) { final List<ReportPlugin> reportPlugins = (List<ReportPlugin>) project.getReportPlugins(); for (final ReportPlugin report : reportPlugins) { final String artifactId = report.getArtifactId(); if (reportArtifactId.equals(artifactId)) { return true; } } return false; }
public List getReportPlugins() { return getDelegate().getReportPlugins(); }
/** * Initialize some attributes required during the report generation */ protected void init() { // wanna know if Javadoc is being generated // TODO: what if it is not part of the site though, and just on the command line? Collection<ReportPlugin> plugin = project.getReportPlugins(); if ( plugin != null ) { for ( ReportPlugin reportPlugin : plugin ) { if ( "maven-javadoc-plugin".equals( reportPlugin.getArtifactId() ) ) { break; } } } }
static boolean definesCheckStyle(MavenProject prj) { for (ReportPlugin plug : prj.getReportPlugins()) { if (Constants.GROUP_APACHE_PLUGINS.equals(plug.getGroupId()) && Constants.PLUGIN_CHECKSTYLE.equals(plug.getArtifactId())) { //NOI18N return true; } } return false; }
List<ReportPlugin> reportPlugins = project.getReportPlugins(); for ( ReportPlugin plugin : reportPlugins )
for ( Object o : project.getReportPlugins() )
for ( Object o : project.getReportPlugins() )
@Override public boolean canGenerateReport() { boolean result = super.canGenerateReport(); if ( result && skipEmptyReport ) { result = !isEmpty( getProject().getBuildPlugins() ) || !isEmpty( getProject().getReportPlugins() ); } return result; }
addReportPluginsAsDependencies(project.getReportPlugins(),dependencies);
@Override public void executeReport( Locale locale ) { PluginsRenderer r = new PluginsRenderer( getLog(), getSink(), locale, getI18N( locale ), project.getBuildPlugins(), project.getReportPlugins(), project, projectBuilder, repositorySystem, getSession().getProjectBuildingRequest() ); r.render(); }
private static void unregisterPlugin(MavenProject pom, String groupId, String artifactId) { if (pom.getPluginManagement() != null && pom.getPluginManagement().getPlugins() != null) { unregisterPlugin(pom.getPluginManagement().getPlugins(), groupId, artifactId); } List plugins = pom.getBuildPlugins(); if (plugins != null) { unregisterPlugin(plugins, groupId, artifactId); } plugins = pom.getReportPlugins(); if (plugins != null) { unregisterReportPlugin(plugins, groupId, artifactId); } }
addReportPluginsAsDependencies(project.getReportPlugins(),dependencies);
for ( ReportPlugin report : (Iterable<ReportPlugin>) getProject().getReportPlugins() )
if (plugin == null && pom.getReportPlugins() != null) { plugin = getReportPlugin(pom.getReportPlugins(), groupId, artifactId);