Plugin Documentation

Goals available for this plugin:

Goal Description
tycho-p2-director:archive-products Creates archives with the product installations.
tycho-p2-director:director 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>
    
tycho-p2-director:materialize-products

Creates product installations for the products defined in the project.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 3.9.0
JDK 17

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.eclipse.tycho</groupId>
          <artifactId>tycho-p2-director-plugin</artifactId>
          <version>4.0.8</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-p2-director-plugin</artifactId>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"