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-extras:compare-version-with-baselines This mojo compares versions the output artifacts of your module build with the version of the same artifacts available in configured baselines, in order to detect version inconsistencies (version moved back, or not correctly bumped since last release). Rules for "illegal" versions are:
  • version decreased compared to baseline
  • same fully-qualified version as baseline, but with different binary content
  • same major.minor.micro as baseline, with different qualifier (at least micro should be increased)
  • This mojo doesn't allow to use qualifier as a versioning segment and will most likely drive to false-positive errors if your qualifier has means to show versioniterations.
    tycho-p2-extras:mirror Maven plugin front-end for org.eclipse.equinox.p2.internal.repository.tools.MirrorApplication. Intended as a replacement for the p2.mirror ant task.
    tycho-p2-extras:publish-features-and-bundles This goal invokes the feature and bundle publisher on a folder.
    See also: Eclipse Wiki

    System Requirements

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

    Maven 3.9.0
    JDK 17

    System Requirements History

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

    Plugin Version Maven JDK
    from 4.0.0 to 4.0.7 3.9.0 17
    from 3.0.0 to 3.0.5 - 17
    from 2.0.0 to 2.7.5 - 11
    from 1.1.0 to 1.7.0 - 8
    from 0.23.0 to 1.0.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.extras</groupId>
              <artifactId>tycho-p2-extras-plugin</artifactId>
              <version>5.0.0-SNAPSHOT</version>
            </plugin>
            ...
          </plugins>
        </pluginManagement>
        <!-- To use the plugin goals in your POM or parent POM -->
        <plugins>
          <plugin>
            <groupId>org.eclipse.tycho.extras</groupId>
            <artifactId>tycho-p2-extras-plugin</artifactId>
          </plugin>
          ...
        </plugins>
      </build>
      ...
    </project>

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