Package com.xpn.xwiki.tool.backup
Class ImportMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.xwiki.tool.extension.util.AbstractExtensionMojo
-
- org.xwiki.tool.utils.AbstractOldCoreMojo
-
- com.xpn.xwiki.tool.backup.AbstractImportMojo
-
- com.xpn.xwiki.tool.backup.ImportMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="import", defaultPhase=PACKAGE, requiresDependencyResolution=COMPILE, requiresProject=true) public class ImportMojo extends AbstractImportMojo
Maven 2 plugin to import a set of XWiki documents into an existing database.- Version:
- $Id: ea867792b3e6edf5b9352848aac6d9a5be528b4b $
-
-
Field Summary
Fields Modifier and Type Field Description protected File
sourceDirectory
-
Fields inherited from class com.xpn.xwiki.tool.backup.AbstractImportMojo
installUser, MPKEYPREFIX, MPNAME_FEATURES, MPNAME_NAME, MPNAME_SUMMARY, MPNAME_WEBSITE
-
Fields inherited from class org.xwiki.tool.utils.AbstractOldCoreMojo
hibernateConfig, oldCoreHelper, wiki
-
-
Constructor Summary
Constructors Constructor Description ImportMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeInternal()
-
Methods inherited from class com.xpn.xwiki.tool.backup.AbstractImportMojo
importDependencies, installExtension, installXAR
-
Methods inherited from class org.xwiki.tool.utils.AbstractOldCoreMojo
after, before
-
Methods inherited from class org.xwiki.tool.extension.util.AbstractExtensionMojo
execute, initializeExtensionMojoHelper, isSkipExecution
-
-
-
-
Field Detail
-
sourceDirectory
@Parameter protected File sourceDirectory
-
-
Method Detail
-
executeInternal
public void executeInternal() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
- Specified by:
executeInternal
in classorg.xwiki.tool.extension.util.AbstractExtensionMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
-