View Javadoc

1   package org.alfresco.maven.plugin.amp.packaging;
2   
3   import org.apache.maven.plugin.MojoExecutionException;
4   import org.apache.maven.plugin.MojoFailureException;
5   
6   /***
7    * Defines tasks that should be performed after the packaging.
8    *
9    * @author Stephane Nicoll
10   */
11  public interface AmpPostPackagingTask
12  {
13  
14      /***
15       * Executes the post packaging task.
16       * <p/>
17       * The packaging context hold all information regarding the webapp that
18       * has been packaged.
19       *
20       * @param context the packaging context
21       * @throws MojoExecutionException if an error occured
22       * @throws MojoFailureException   if a falure occured
23       */
24      void performPostPackaging( AmpPackagingContext context )
25          throws MojoExecutionException, MojoFailureException;
26  
27  }