Class GenerateManifestClassPathMojo

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

    @Mojo(name="generate-manifest",
          defaultPhase=VALIDATE,
          requiresDependencyResolution=COMPILE_PLUS_RUNTIME)
    public final class GenerateManifestClassPathMojo
    extends org.apache.maven.plugin.AbstractMojo
    Generate a class path suitable for the Class-Path header of a Manifest file, allowing to filter on included jars, using excludes/includes properties.

    There is a single goal that generates a property given by 'classPathProperty' parameter, with the generated classpath as the value.

    • Constructor Detail

      • GenerateManifestClassPathMojo

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