Class ExplodedMojo

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

@Mojo(name="exploded", requiresDependencyResolution=COMPILE_PLUS_RUNTIME) @Execute(goal="exploded", phase=PROCESS_CLASSES) public class ExplodedMojo extends AbstractLuteceWebappMojo
Explodes a test webapp for a Lutece plugin or site project.
Note that the Lutece dependencies (core and plugins) will only be updated the first time the exploded webapp is created. Subsequent calls to this goal will only update the project's specific files :
  • for a plugin project : the plugin-specific webapp elements and classes.
  • for a site project : the site-specific webapp elements.
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

    • ExplodedMojo

      public ExplodedMojo()
  • 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 exploding the webapp.
      org.apache.maven.plugin.MojoFailureException
    • explodeMultiProjectUserConfigurationFiles

      protected void explodeMultiProjectUserConfigurationFiles(File targetDir, File confDirectory) throws org.apache.maven.plugin.MojoExecutionException
      Explode multi project local configuration directory
      Parameters:
      targetDir - the multi project target directory
      confDirectory - The multi project local conf directory
      Throws:
      org.apache.maven.plugin.MojoExecutionException - the mojo exception