Class AssemblySiteMojo

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

@Mojo(name="site-assembly", requiresDependencyResolution=COMPILE_PLUS_RUNTIME) @Execute(goal="site-assembly", phase=PROCESS_CLASSES) public class AssemblySiteMojo extends AbstractLuteceWebappMojo
Builds a site's final WAR from a Lutece core artifact and a set of Lutece plugin artifacts.
Note that the Lutece dependencies (core and plugins) will only be updated the first time the WAR is created. Subsequent calls to this goal will only update the site's specific files.
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.
  • Constructor Details

    • AssemblySiteMojo

      public AssemblySiteMojo()
  • 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 occurred while building the artifact.
      org.apache.maven.plugin.MojoFailureException