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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetWorkDirectoryRoot(String relativePath, org.apache.maven.execution.MavenSession mavenSession, String pluginGroupId, String pluginArtifactId, String goal) booleanisThisFirstProjectWithThisMojoInExecution(org.apache.maven.execution.MavenSession mavenSession, org.apache.maven.plugin.MojoExecution mojoExecution, String pluginGroupId, String pluginArtifactId) booleanisThisLastProjectWithThisMojoInExecution(org.apache.maven.execution.MavenSession mavenSession, org.apache.maven.plugin.MojoExecution mojoExecution, String pluginGroupId, String pluginArtifactId, boolean failOnBuildFailure) Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
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:
isThisLastProjectWithThisMojoInExecutionin interfaceMojoUtils
-
isThisFirstProjectWithThisMojoInExecution
public boolean isThisFirstProjectWithThisMojoInExecution(org.apache.maven.execution.MavenSession mavenSession, org.apache.maven.plugin.MojoExecution mojoExecution, String pluginGroupId, String pluginArtifactId) - Specified by:
isThisFirstProjectWithThisMojoInExecutionin interfaceMojoUtils
-
getWorkDirectoryRoot
public File getWorkDirectoryRoot(String relativePath, org.apache.maven.execution.MavenSession mavenSession, String pluginGroupId, String pluginArtifactId, String goal) - Specified by:
getWorkDirectoryRootin interfaceMojoUtils
-