Class RootLocationMojo

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

    @Mojo(name="rootlocation",
          defaultPhase=VALIDATE,
          threadSafe=true,
          requiresProject=true)
    public class RootLocationMojo
    extends AbstractDefinePropertyMojo
    This goal will get the location of the root folder within a multi module build as a property rootlocation.
    Since:
    3.0.0
    Author:
    Karl Heinz Marbaise
    • Constructor Detail

      • RootLocationMojo

        public RootLocationMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoFailureException
        Main plugin execution
        Throws:
        org.apache.maven.plugin.MojoFailureException