Plugin Documentation

Goals available for this plugin:

Goal Description
tycho-p2:category-p2-metadata Adds category IUs to existing metadata repository. https://help.eclipse.org/galileo/index.jsp?topic =/org.eclipse.platform.doc.isv/guide/p2_publisher.html
tycho-p2:dependency-tree Similar to dependency:tree outputs a tree of P2 dependencies.
tycho-p2:feature-p2-metadata No description.
tycho-p2:p2-metadata No description.
tycho-p2:p2-metadata-default P2 metadata generation goal bound to default artifact build lifecycle. For explicit binding use p2-metadata goal. The idea is to avoid double p2 metadata generation for projects that generate additional artifacts or post process standard artifacts using custom goals bound to package phase.
tycho-p2:update-local-index No description.
tycho-p2:update-site-p2-metadata No description.

System Requirements

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

Maven 3.9.2
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-plugin</artifactId>
          <version>4.0.0-SNAPSHOT</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-plugin</artifactId>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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