Class UpdaterMojo

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

@Mojo(name="updater", requiresDependencyResolution=COMPILE) @Execute(goal="updater", phase=PROCESS_CLASSES) public class UpdaterMojo 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

    • strDefinedFromVersion

      @Parameter(property="versionFrom", defaultValue="0.0.0") protected String strDefinedFromVersion
      The upgrade from version.
    • EXCLUDE_PATTERN_SRC

      protected static final String EXCLUDE_PATTERN_SRC
      See Also:
    • EXCLUDE_PATTERN_SETTINGS

      protected static final String EXCLUDE_PATTERN_SETTINGS
      See Also:
    • baseDirectory

      @Parameter(property="basedir", required=true) protected File baseDirectory
      The directory containing the default configuration files.
    • ASSEMBLY_WEBAPP_EXCLUDES_UPDATER

      protected static final String[] ASSEMBLY_WEBAPP_EXCLUDES_UPDATER
    • updOutputDirectory

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

    • UpdaterMojo

      public UpdaterMojo()
  • 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