Class AssemblyMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="assembly", requiresDependencyResolution=COMPILE) @Execute(goal="assembly", phase=PROCESS_CLASSES) public class AssemblyMojo extends AbstractLuteceWebappMojo
Assembly zips for Lutece core or plugin project.
If you wish to force webapp re-creation (for instance, if you changed the version of a dependency), call the clean phase before this goal.
  • Field Details

    • assemblyOutputDirectory

      @Parameter(property="assemblyOutputDirectory") protected File assemblyOutputDirectory
      The project's output directory.
  • Constructor Details

    • AssemblyMojo

      public AssemblyMojo()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Executes the mojo on the current project.
      Throws:
      org.apache.maven.plugin.MojoExecutionException - if an error occured while building the artifact.
      org.apache.maven.plugin.MojoFailureException