Class ProvisionFileStateMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="provision-file",
          requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
          defaultPhase=PROCESS_TEST_RESOURCES)
    public class ProvisionFileStateMojo
    extends org.apache.maven.plugin.AbstractMojo
    This maven plugin provisions an installation from a provisioning.xml file. If the target installation directory already contains an installation, the existing installation will be fully replaced with the newly provisioned one.

    Author:
    jfdenise
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.eclipse.aether.RepositorySystemSession repoSession  
      protected org.eclipse.aether.RepositorySystem repoSystem  
      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()  
      • Methods inherited from class org.apache.maven.plugin.AbstractMojo

        getLog, getPluginContext, setLog, setPluginContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • repoSystem

        @Component
        protected org.eclipse.aether.RepositorySystem repoSystem
      • repoSession

        @Parameter(defaultValue="${repositorySystemSession}",
                   readonly=true)
        protected org.eclipse.aether.RepositorySystemSession repoSession
    • Constructor Detail

      • ProvisionFileStateMojo

        public ProvisionFileStateMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException