| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!-- Generated by maven-plugin-tools 3.6 --> |
| |
| <plugin> |
| <name>Source Feature Generation Plugin</name> |
| <description>Additional tools for Tycho</description> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-source-feature-plugin</artifactId> |
| <version>1.5.1-SNAPSHOT</version> |
| <goalPrefix>tycho-source-feature</goalPrefix> |
| <mojos> |
| <mojo> |
| <goal>source-feature</goal> |
| <description>Generates a source feature for projects of packaging type eclipse-feature. By default, the generated source feature |
| - Declares feature id <originalFeatureId>.source |
| - Declares feature label '<originalFeatureLabel> Developer Resources' |
| - If present, reuses feature provider, description, copyright and license as well as respective URLs from <originalFeature> |
| - Includes all plugins included by <originalFeature>, but each with .source appended to each plugin id |
| - Includes all features included by <originalFeature>, but each with .source appended to each feature id |
| - Includes the original feature. This ensures that binaries and corresponding sources match. |
| Source feature generation can be customized by adding files under path 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.</description> |
| <requiresDirectInvocation>false</requiresDirectInvocation> |
| <requiresProject>true</requiresProject> |
| <requiresReports>false</requiresReports> |
| <aggregator>false</aggregator> |
| <requiresOnline>false</requiresOnline> |
| <inheritedByDefault>true</inheritedByDefault> |
| <phase>package</phase> |
| <implementation>org.eclipse.tycho.extras.sourcefeature.SourceFeatureMojo</implementation> |
| <language>java</language> |
| <instantiationStrategy>per-lookup</instantiationStrategy> |
| <executionStrategy>once-per-session</executionStrategy> |
| <threadSafe>false</threadSafe> |
| <parameters> |
| <parameter> |
| <name>archive</name> |
| <type>org.apache.maven.archiver.MavenArchiveConfiguration</type> |
| <required>false</required> |
| <editable>true</editable> |
| <description></description> |
| </parameter> |
| <parameter> |
| <name>brandingPlugin</name> |
| <type>java.lang.String</type> |
| <required>false</required> |
| <editable>true</editable> |
| <description>Use this to explicitly set the branding plugin attribute of the generated source feature (overrides reuseBrandingPlugin).</description> |
| </parameter> |
| <parameter> |
| <name>excludes</name> |
| <type>org.codehaus.plexus.configuration.PlexusConfiguration</type> |
| <required>false</required> |
| <editable>true</editable> |
| <description>Bundles and features that do not have corresponding sources. Example: |
| <excludes> |
| <plugin id='plugin.nosource'/> |
| <feature id='feature.nosource'/> |
| </excludes> |
| </description> |
| </parameter> |
| <parameter> |
| <name>finalName</name> |
| <type>java.lang.String</type> |
| <required>false</required> |
| <editable>true</editable> |
| <description>The filename to be used for the generated archive file. For the source-feature goal, '-sources-feature' is appended to this filename.</description> |
| </parameter> |
| <parameter> |
| <name>includeBinaryFeature</name> |
| <type>boolean</type> |
| <required>false</required> |
| <editable>true</editable> |
| <description>Whether to add an include dependency from the source feature to the corresponding binary feature. If true, this ensures the version of the installed sources matches the binaries.</description> |
| </parameter> |
| <parameter> |
| <name>labelSuffix</name> |
| <type>java.lang.String</type> |
| <required>false</required> |
| <editable>true</editable> |
| <description>Source feature label suffix. Unless explicitly provided in sourceTemplateFeature/feature.properties, this suffix will be appended to the original feature label to construct the source feature label.</description> |
| </parameter> |
| <parameter> |
| <name>plugins</name> |
| <type>org.codehaus.plexus.configuration.PlexusConfiguration</type> |
| <required>false</required> |
| <editable>true</editable> |
| <description>Additional plugins to include in the generated source feature. Beware that these additional plugins are not considered during build target platform calculation and ordering of reactor projects. Use <extraRequirements> dependency resolver configuration to guarantee proper reactor build order. |
| WARNING This experimental parameter may be removed from future source-feature mojo versions without prior notice. |
| </description> |
| </parameter> |
| <parameter> |
| <name>reuseBrandingPlugin</name> |
| <type>boolean</type> |
| <required>false</required> |
| <editable>true</editable> |
| <description>Whether to reuse an explicit branding plugin from the binary feature for the generated source feature.</description> |
| </parameter> |
| <parameter> |
| <name>skip</name> |
| <type>boolean</type> |
| <required>false</required> |
| <editable>true</editable> |
| <description>Whether to skip source feature generation.</description> |
| </parameter> |
| </parameters> |
| <configuration> |
| <finalName implementation="java.lang.String">${project.build.finalName}</finalName> |
| <includeBinaryFeature implementation="boolean" default-value="true"/> |
| <labelSuffix implementation="java.lang.String" default-value=" Developer Resources"/> |
| <reuseBrandingPlugin implementation="boolean" default-value="true"/> |
| <skip implementation="boolean" default-value="false"/> |
| </configuration> |
| </mojo> |
| </mojos> |
| </plugin> |