Class RootLocationMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.buildhelper.AbstractDefinePropertyMojo
org.codehaus.mojo.buildhelper.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 Details

    • RootLocationMojo

      public RootLocationMojo()
  • Method Details

    • execute

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