Plugin Documentation

Goals available for this plugin:

Goal Description
tycho-gpg:sign-p2-artifacts Modifies the p2 metadata (artifacts.xml) to add PGP signatures for each included artifact. Signatures are added as pgp.signatures property on the artifact metadata, in armored form; and public keys of the signers are added as pgp.publicKeys property on the repository metadata, in armored form.

System Requirements

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

Maven 3.8.6
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-gpg-plugin</artifactId>
          <version>3.0.3</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-gpg-plugin</artifactId>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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