Plugin Documentation

This report describes goals, parameters details, requirements and sample usage of this plugin.

Goals

Goals available for this plugin:

Goal Description
tycho-p2-publisher:attach-artifacts

Attaches p2 metadata and extra artifacts produced by the publishers to the project. In this way, the full build results are available in the local Maven repository, e.g. for builds of parts of a reactor.

tycho-p2-publisher:publish-categories

Publishes the category definitions from the category.xml in the root of the project.


See also: https://wiki.eclipse.org/Equinox/p2/Publisher
tycho-p2-publisher:publish-ee-profile

Publishes a custom execution environment profile.

tycho-p2-publisher:publish-osgi-ee

Publishes OSGi execution environment profiles into a p2 repository. The published IUs satisfy dependencies to corresponding osgi.ee capabilities and system packages.

tycho-p2-publisher:publish-products

Publishes all product definitions files (*.product) that are present in the root of the project.


See also: https://wiki.eclipse.org/Equinox/p2/Publisher

System Requirements

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

Maven 3.9.9
JDK 17

System Requirements History

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

Plugin Version Maven JDK
from 3.0.0 to 4.0.10 - 17
from 2.0.0 to 2.7.5 - 11
from 0.25.0 to 1.7.0 - 8
from 0.23.0 to 0.24.0 - 7
0.22.0 - 6
from 0.12.0 to 0.21.0 - 5

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-publisher-plugin</artifactId>
          <version>4.0.10</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-publisher-plugin</artifactId>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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