Class AbstractOldCoreMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    Direct Known Subclasses:
    AbstractImportMojo, DataMojo, ExportMojo, PackageMojo

    public abstract class AbstractOldCoreMojo
    extends org.xwiki.tool.extension.util.AbstractExtensionMojo
    Base class for Maven plugins manipulating OldCore APIs.
    Since:
    9.4RC1
    Version:
    $Id: 0df5c6feed65f8a574761b6b47b84598bda7e2fd $
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected File hibernateConfig  
      protected OldCoreHelper oldCoreHelper  
      protected String wiki  
      • 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
    • Field Detail

      • wiki

        @Parameter(defaultValue="xwiki")
        protected String wiki
      • hibernateConfig

        @Parameter(defaultValue="${basedir}/src/main/packager/hibernate.cfg.xml")
        protected File hibernateConfig
    • Constructor Detail

      • AbstractOldCoreMojo

        public AbstractOldCoreMojo()
    • Method Detail

      • before

        protected void before()
                       throws org.apache.maven.plugin.MojoExecutionException
        Overrides:
        before 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 org.xwiki.tool.extension.util.AbstractExtensionMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException