Class DirectorMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.eclipse.tycho.plugins.p2.director.DirectorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="director", defaultPhase=NONE, threadSafe=true, requiresProject=false) public class DirectorMojo extends org.apache.maven.plugin.AbstractMojo
Allows to run the director application to manage Eclipse Installations. This mojo can be used in two ways
  1. As a commandline invocation passing arguments as properties using mvn org.eclipse.tycho:tycho-p2-director-plugin:director -Ddestination=[target] ... -D...
  2. as an execution inside a pom
     <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-p2-director-plugin</artifactId>
        <version>${tycho-version}</version>
        <executions>
           <execution>
              <goals>
                 <goal>director</goal>
              </goals>
              <phase>package</phase>
              <configuration>
                 <destination>...</destination>
                 ... other arguments ...
              </configuration>
           </execution>
        </executions>
     </plugin>
     
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
  • Field Summary

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    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 Details

    • DirectorMojo

      public DirectorMojo()
  • Method Details

    • 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