Class MojoUtilsImpl

java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.sonatype.central.publisher.plugin.utils.MojoUtilsImpl
All Implemented Interfaces:
org.codehaus.plexus.logging.LogEnabled, MojoUtils

@Component(role=MojoUtils.class) public class MojoUtilsImpl extends org.codehaus.plexus.logging.AbstractLogEnabled implements MojoUtils
  • Constructor Details

    • MojoUtilsImpl

      public MojoUtilsImpl()
  • Method Details

    • isThisLastProjectWithThisMojoInExecution

      public boolean isThisLastProjectWithThisMojoInExecution(org.apache.maven.execution.MavenSession mavenSession, org.apache.maven.plugin.MojoExecution mojoExecution, String pluginGroupId, String pluginArtifactId, boolean failOnBuildFailure)
      Specified by:
      isThisLastProjectWithThisMojoInExecution in interface MojoUtils
    • isThisFirstProjectWithThisMojoInExecution

      public boolean isThisFirstProjectWithThisMojoInExecution(org.apache.maven.execution.MavenSession mavenSession, org.apache.maven.plugin.MojoExecution mojoExecution, String pluginGroupId, String pluginArtifactId)
      Specified by:
      isThisFirstProjectWithThisMojoInExecution in interface MojoUtils
    • getWorkDirectoryRoot

      public File getWorkDirectoryRoot(String relativePath, org.apache.maven.execution.MavenSession mavenSession, String pluginGroupId, String pluginArtifactId, String goal)
      Specified by:
      getWorkDirectoryRoot in interface MojoUtils