Plugin Documentation
Goals available for this plugin:
Goal | Description |
---|---|
tycho-source:feature-source | Generates a source feature for projects of packaging type eclipse-feature . By default, the generated source feature
sourceTemplateFeature/ . Files added here will be added to the root of the source feature jar. Especially, if file sourceTemplateFeature/feature.properties is found, values in this file override values of respective keys in <originalFeature>/feature.properties . |
tycho-source:generate-pde-source-header | This mojo adds the required headers to a source artifact for it to be used in PDE as a source bundle |
tycho-source:plugin-source | Goal to create a JAR-package containing all the source files of a osgi project. |
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-source-plugin</artifactId> <version>3.0.4</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-source-plugin</artifactId> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"