Package org.xwiki.tool.utils
Class AbstractOldCoreMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.xwiki.tool.extension.util.AbstractExtensionMojo
-
- org.xwiki.tool.utils.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
-
Constructor Summary
Constructors Constructor Description AbstractOldCoreMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
after()
protected void
before()
-
Methods inherited from class org.xwiki.tool.extension.util.AbstractExtensionMojo
execute, executeInternal, initializeExtensionMojoHelper, isSkipExecution
-
-
-
-
Field Detail
-
wiki
@Parameter(defaultValue="xwiki") protected String wiki
-
hibernateConfig
@Parameter(defaultValue="${basedir}/src/main/packager/hibernate.cfg.xml") protected File hibernateConfig
-
oldCoreHelper
protected OldCoreHelper oldCoreHelper
-
-
Method Detail
-
before
protected void before() throws org.apache.maven.plugin.MojoExecutionException
- Overrides:
before
in classorg.xwiki.tool.extension.util.AbstractExtensionMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
after
protected void after() throws org.apache.maven.plugin.MojoExecutionException
- Overrides:
after
in classorg.xwiki.tool.extension.util.AbstractExtensionMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-