File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed 
src/main/java/com/cosium/code/format Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,10 @@ public class InstallHooksMojo extends AbstractMavenGitCodeFormatMojo {
4646  @ Parameter (property  = "gcf.skip" , defaultValue  = "false" )
4747  private  boolean  skip ;
4848
49+   /** Skip execution of this specific goal */ 
50+   @ Parameter (property  = "gcf.skipInstallHooks" , defaultValue  = "false" )
51+   private  boolean  skipInstallHooks ;
52+ 
4953  /** 
5054   * True to truncate hooks base scripts before each install. <br> 
5155   * Do not use this option if any other system or human manipulate the hooks 
@@ -75,7 +79,7 @@ public void execute() throws MojoExecutionException {
7579      getLog ().debug ("Not in execution root. Do not execute." );
7680      return ;
7781    }
78-     if  (skip ) {
82+     if  (skip  ||  skipInstallHooks ) {
7983      Log  log  = getLog ();
8084      if  (log .isInfoEnabled ()) {
8185        log .info ("skipped" );
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments