Package org.apache.maven.scm.plugin
Class StatusMojo
- java.lang.Object
- 
- org.apache.maven.plugin.AbstractMojo
- 
- org.apache.maven.scm.plugin.AbstractScmMojo
- 
- org.apache.maven.scm.plugin.StatusMojo
 
 
 
- 
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled,- org.apache.maven.plugin.Mojo
 
 @Mojo(name="status", aggregator=true) public class StatusMojo extends AbstractScmMojoDisplay the modification status of the files in the configured scm url.- Author:
- Emmanuel Venisse, Olivier Lamy
 
- 
- 
Field Summary- 
Fields inherited from class org.apache.maven.scm.plugin.AbstractScmMojoVALID_VERSION_TYPES, VERSION_TYPE_BRANCH, VERSION_TYPE_REVISION, VERSION_TYPE_TAG
 
- 
 - 
Constructor SummaryConstructors Constructor Description StatusMojo(ScmManager manager, org.apache.maven.settings.crypto.SettingsDecrypter settingsDecrypter)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()protected StringgetRelativePath(File baseDir, String path)Formats the filename so that it is a relative directory from the base.- 
Methods inherited from class org.apache.maven.scm.plugin.AbstractScmMojocheckResult, getBasedir, getConnectionUrl, getExcludes, getFileSet, getIncludes, getScmManager, getScmRepository, getScmVersion, getWorkingDirectory, handleExcludesIncludesAfterCheckoutAndExport, setConnectionType, setConnectionUrl, setExcludes, setIncludes, setWorkingDirectory
 
- 
 
- 
- 
- 
Constructor Detail- 
StatusMojo@Inject public StatusMojo(ScmManager manager, org.apache.maven.settings.crypto.SettingsDecrypter settingsDecrypter) 
 
- 
 - 
Method Detail- 
executepublic void execute() throws org.apache.maven.plugin.MojoExecutionException - Specified by:
- executein interface- org.apache.maven.plugin.Mojo
- Overrides:
- executein class- AbstractScmMojo
- Throws:
- org.apache.maven.plugin.MojoExecutionException
 
 - 
getRelativePathprotected String getRelativePath(File baseDir, String path) Formats the filename so that it is a relative directory from the base.- Parameters:
- baseDir-
- path-
- Returns:
- the relative path
 
 
- 
 
-