Fork me on GitHub

Plugin Details

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

Goals

Goals available for this plugin:

Goal Description
tycho-dependency-tools:generate-target This mojo generates a target platform from all the dependencies of a maven build for example to be used inside of PDE
tycho-dependency-tools:list-dependencies Writes a plain text file listing the absolute filesystem locations of all dependencies (and, for OSGi bundle projects, any additional classpath entries contributed by org.eclipse.tycho.classpath.ClasspathContributors) of the current project, one location per line. It differs from maven-dependency-plugin:list in the fact that it does return location to bundles, and not to nested jars (in case bundle contain some).
tycho-dependency-tools:usage This mojos compares the actual content of the target against what is used in the projects to allow for getting rid of seldom or unused dependencies Example org.eclipse.tycho.extras:tycho-dependency-tools-plugin:6.0.0-SNAPSHOT:usage

System Requirements

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

Maven 3.9.16
JDK 21

System Requirements History

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

Plugin Version Maven JDK
from 5.0.0 to 5.0.4 - 21
from 3.0.0 to 4.0.13 - 17
from 2.0.0 to 2.7.5 - 11
from 1.5.0 to 1.7.0 - 8

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-dependency-tools-plugin</artifactId>
          <version>6.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-dependency-tools-plugin</artifactId>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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