blob: 9bd0d95478b7227fddee94a7d813a2eb48dae325 [file] [log] [blame]
<?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 &lt;originalFeatureId&gt;.source
- Declares feature label &apos;&lt;originalFeatureLabel&gt; Developer Resources&apos;
- If present, reuses feature provider, description, copyright and license as well as respective URLs from &lt;originalFeature&gt;
- Includes all plugins included by &lt;originalFeature&gt;, but each with .source appended to each plugin id
- Includes all features included by &lt;originalFeature&gt;, 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 &lt;originalFeature&gt;/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:
&lt;excludes&gt;
&lt;plugin id=&apos;plugin.nosource&apos;/&gt;
&lt;feature id=&apos;feature.nosource&apos;/&gt;
&lt;/excludes&gt;
</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, &apos;-sources-feature&apos; 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 &lt;extraRequirements&gt; 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>