org.apache.maven.scm.plugin
Class CheckLocalModificationsMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.scm.plugin.AbstractScmMojo
          extended by org.apache.maven.scm.plugin.CheckLocalModificationsMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class CheckLocalModificationsMojo
extends AbstractScmMojo

This mojo will fail the build if there is any local modifications

Since:
1.2
Author:
olamy
Is defined by the goal name:
check-local-modification

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CheckLocalModificationsMojo()
           
 
Method Summary
 void execute()
          
 
Methods inherited from class org.apache.maven.scm.plugin.AbstractScmMojo
checkResult, getConnectionUrl, getExcludes, getFileSet, getIncludes, getScmManager, getScmRepository, getScmVersion, getWorkingDirectory, handleExcludesIncludesAfterCheckoutAndExport, setConnectionType, setConnectionUrl, setExcludes, setIncludes, setWorkingDirectory
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckLocalModificationsMojo

public CheckLocalModificationsMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Description copied from class: AbstractScmMojo

Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class AbstractScmMojo
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.