Class TychoShadeMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.eclipse.tycho.classpath.JavaCompilerConfiguration, org.eclipse.tycho.runtime.Adaptable

    @Mojo(name="shade",
          defaultPhase=COMPILE,
          requiresDependencyResolution=RUNTIME)
    public class TychoShadeMojo
    extends org.eclipse.tycho.compiler.AbstractOsgiCompilerMojo
    Mojo for shading a tycho project.
    Author:
    Daniel Sagenschneider
    • Field Summary

      • Fields inherited from class org.eclipse.tycho.compiler.AbstractOsgiCompilerMojo

        RULE_EXCLUDE_ALL, RULE_SEPARATOR
      • Fields inherited from class copied.org.apache.maven.plugin.AbstractCompilerMojo

        DEFAULT_SOURCE_VERSION, DEFAULT_TARGET_VERSION, release, source
      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • Constructor Summary

      Constructors 
      Constructor Description
      TychoShadeMojo()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()  
      • Methods inherited from class org.eclipse.tycho.compiler.AbstractOsgiCompilerMojo

        getAdapter, getClasspath, getClasspathElements, getCompilerConfiguration, getCompileSourceRoots, getEclipsePluginProject, getExecutionEnvironment, getOutputDirectory, getSourceInclusionScanner, getSourceInclusionScanner, getSourceLevel, getSourcepath, getTargetLevel, getTargetLevel
      • Methods inherited from class copied.org.apache.maven.plugin.AbstractCompilerMojo

        removeEmptyCompileSourceRoots
      • 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
    • Constructor Detail

      • TychoShadeMojo

        public TychoShadeMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Specified by:
        execute in interface org.apache.maven.plugin.Mojo
        Overrides:
        execute in class org.eclipse.tycho.compiler.AbstractOsgiCompilerMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException