public void registerAsProjectAction(MavenProjectActionBuilder builder) { core.registerAsProjectAction(builder); }
public void registerAsProjectAction(MavenProjectActionBuilder builder) { core.registerAsProjectAction(builder); }
public void registerAsProjectAction(MavenReporter reporter) { core.registerAsProjectAction(reporter); }
public void registerAsProjectAction(MavenReporter reporter) { core.registerAsProjectAction(reporter); }
/** * Called at the end of each maven ?goal?. - so if the maven args are * pmd:pmd checkstyle:checkstyle this will get called twice. */ @Override public boolean postExecute(MavenBuildProxy build, MavenProject pom, MojoInfo mojo, BuildListener listener, Throwable error) throws InterruptedException, IOException { build.execute(new BuildCallable<Void, IOException>() { @Override public Void call(final MavenBuild build) throws IOException, InterruptedException { // Create the violations build action - if not already built. // This needes to be done here, otherwise aggregated actions // do not get created. // (aggreatedactions get created after the postExecute(), but // before the end() getCreateBuildAction(build); return null; } }); // Need to register the MavenReporter as a ProjectAction if (!registered) { build.registerAsProjectAction(this); registered = true; } return true; }
/** * Called at the end of each maven ?goal?. * - so if the maven args are pmd:pmd checkstyle:checkstyle * this will get called twice. */ @Override public boolean postExecute( MavenBuildProxy build, MavenProject pom, MojoInfo mojo, BuildListener listener, Throwable error) throws InterruptedException, IOException { build.execute(new BuildCallable<Void, IOException>() { public Void call(final MavenBuild build) throws IOException, InterruptedException { // Create the violations build action - if not already built. // This needes to be done here, otherwise aggregated actions // do not get created. // (aggreatedactions get created after the postExecute(), but // before the end() getCreateBuildAction(build); return null; } }); // Need to register the MavenReporter as a ProjectAction if (!registered) { build.registerAsProjectAction(this); registered = true; } return true; }
/** * Called at the end of each maven ?goal?. * - so if the maven args are pmd:pmd checkstyle:checkstyle * this will get called twice. */ @Override public boolean postExecute( MavenBuildProxy build, MavenProject pom, MojoInfo mojo, BuildListener listener, Throwable error) throws InterruptedException, IOException { build.execute(new BuildCallable<Void, IOException>() { public Void call(final MavenBuild build) throws IOException, InterruptedException { // Create the violations build action - if not already built. // This needes to be done here, otherwise aggregated actions // do not get created. // (aggreatedactions get created after the postExecute(), but // before the end() getCreateBuildAction(build); return null; } }); // Need to register the MavenReporter as a ProjectAction if (!registered) { build.registerAsProjectAction(this); registered = true; } return true; }
/** * {@inheritDoc} */ @Override public boolean postExecute(MavenBuildProxy build, MavenProject pom, MojoInfo mojo, BuildListener listener, Throwable error) throws InterruptedException, IOException { if (!isExecutingMojo(mojo)) { // not a mojo who's result we are interested in return true; } final Boolean okToContinue = getExecutionMode().isOkToContinue(this, build, listener, error); if (okToContinue != null) { return okToContinue; } build.registerAsProjectAction(this); return BuildProxy.doPerform(newGhostwriter(pom, mojo), build, pom, listener); }
build.registerAsAggregatedProjectAction(this); else build.registerAsProjectAction(this);
build.registerAsAggregatedProjectAction(this); else build.registerAsProjectAction(this);