Class PackageTargetDefinitionMojo

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

    @Mojo(name="package-target-definition",
          defaultPhase=PACKAGE)
    public class PackageTargetDefinitionMojo
    extends org.apache.maven.plugin.AbstractMojo
    Registers the target definition file <artifactId>.target expected in the basedir of a project as maven artifact.
    • Constructor Detail

      • PackageTargetDefinitionMojo

        public PackageTargetDefinitionMojo()
    • 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