Class DataMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="data",
          defaultPhase=PREPARE_PACKAGE,
          requiresProject=true)
    public class DataMojo
    extends AbstractOldCoreMojo
    Maven 2 plugin to generate XWiki data folder (database and extensions).
    Since:
    9.0RC1, 8.4.2
    Version:
    $Id: 6b7988331e6af044bb412863b4da86292c27a396 $
    • Field Summary

      • Fields inherited from class org.xwiki.tool.extension.util.AbstractExtensionMojo

        container, disabledComponents, extensionHelper, extensionOverrides, localRepository, permanentDirectory, project, recommendedVersions, session, skip
      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • Constructor Summary

      Constructors 
      Constructor Description
      DataMojo()  
    • Constructor Detail

      • DataMojo

        public DataMojo()
    • Method Detail

      • executeInternal

        public void executeInternal()
                             throws org.apache.maven.plugin.MojoExecutionException
        Specified by:
        executeInternal in class org.xwiki.tool.extension.util.AbstractExtensionMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • after

        protected void after()
                      throws org.apache.maven.plugin.MojoExecutionException
        Overrides:
        after in class AbstractOldCoreMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException