Class FormatDocviewXmlMojo
- java.lang.Object
- 
- org.apache.maven.plugin.AbstractMojo
- 
- org.apache.jackrabbit.filevault.maven.packaging.mojo.FormatDocviewXmlMojo
 
 
- 
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled,- org.apache.maven.plugin.Mojo
 
 @Mojo(name="format-xml", defaultPhase=PROCESS_SOURCES, threadSafe=true) public class FormatDocviewXmlMojo extends org.apache.maven.plugin.AbstractMojoEither checks only the formatting of the Docview XML files to comply with the formatting rules from FileVault or also reformats those files.
- 
- 
Constructor SummaryConstructors Constructor Description FormatDocviewXmlMojo()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()protected voidexecuteInternal(@NotNull File sourceDirectory)
 
- 
- 
- 
Field Detail- 
includes@Parameter protected Set<String> includes Include patterns for files to include. If not set defaults to [**\/*.xml].Note: includes have precedences over excludes. Each pattern can either be an Ant-like pattern or a regular expression if it is starting with %regex[and ending with].
 - 
excludes@Parameter protected Set<String> excludes Exclude patterns for files to exclude. If not set defaults to [].Note: includes have precedences over excludes. Each pattern can either be an Ant-like pattern or a regular expression if it is starting with %regex[and ending with].
 - 
buildContext@Component protected org.sonatype.plexus.build.incremental.BuildContext buildContext 
 
- 
 - 
Method Detail- 
executepublic void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
- org.apache.maven.plugin.MojoExecutionException
- org.apache.maven.plugin.MojoFailureException
 
 - 
executeInternalprotected void executeInternal(@NotNull @NotNull File sourceDirectory) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
- org.apache.maven.plugin.MojoExecutionException
- org.apache.maven.plugin.MojoFailureException
 
 
- 
 
-