Package com.xpn.xwiki.tool.backup
Class DataMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.xwiki.tool.extension.util.AbstractExtensionMojo
-
- org.xwiki.tool.utils.AbstractOldCoreMojo
-
- com.xpn.xwiki.tool.backup.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.utils.AbstractOldCoreMojo
hibernateConfig, oldCoreHelper, wiki
-
-
Constructor Summary
Constructors Constructor Description DataMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
after()
void
executeInternal()
-
Methods inherited from class org.xwiki.tool.utils.AbstractOldCoreMojo
before
-
Methods inherited from class org.xwiki.tool.extension.util.AbstractExtensionMojo
execute, initializeExtensionMojoHelper, isSkipExecution
-
-
-
-
Method Detail
-
executeInternal
public void executeInternal() throws org.apache.maven.plugin.MojoExecutionException
- Specified by:
executeInternal
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 classAbstractOldCoreMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-