blob: 16f5511cb905613f7aa2cf7d598c63a97a2ca822 [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>
<isolatedRealm>false</isolatedRealm>
<inheritedByDefault>true</inheritedByDefault>
<mojos>
<mojo>
<goal>source-feature</goal>
<description>Generates a source feature for projects of packaging type &lt;code&gt;eclipse-feature&lt;/code&gt;. By
default, the generated source feature
&lt;ul&gt;
&lt;li&gt;Declares feature id &lt;code&gt;&amp;lt;originalFeatureId&amp;gt;.source&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Declares feature label &lt;code&gt;&quot;&amp;lt;originalFeatureLabel&amp;gt; Developer Resources&quot;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;If present, reuses feature provider, description, copyright and license as well as respective
URLs from &amp;lt;originalFeature&amp;gt;&lt;/li&gt;
&lt;li&gt;Includes all plugins included by &amp;lt;originalFeature&amp;gt;, but each with &lt;code&gt;.source&lt;/code&gt;
appended to each plugin id&lt;/li&gt;
&lt;li&gt;Includes all features included by &amp;lt;originalFeature&amp;gt;, but each with &lt;code&gt;.source&lt;/code&gt;
appended to each feature id&lt;/li&gt;
&lt;li&gt;Includes the original feature. This ensures that binaries and corresponding sources
match.&lt;/li&gt;
&lt;/ul&gt;
Source feature generation can be customized by adding files under path
&lt;code&gt;sourceTemplateFeature/&lt;/code&gt;. Files added here will be added to the root of the source
feature jar. Especially, if file &lt;code&gt;sourceTemplateFeature/feature.properties&lt;/code&gt; is found,
values in this file override values of respective keys in
&lt;code&gt;&amp;lt;originalFeature&amp;gt;/feature.properties&lt;/code&gt;.</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 &lt;a href=
&quot;http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Fguide%2Ftools%2Feditors%2Ffeature_editor%2Ffeature_editor.htm&quot;
&gt; branding plugin attribute&lt;/a&gt; of the generated source feature (overrides
{@link #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;pre&gt;
&amp;lt;excludes&amp;gt;
&amp;lt;plugin id=&quot;plugin.nosource&quot;/&amp;gt;
&amp;lt;feature id=&quot;feature.nosource&quot;/&amp;gt;
&amp;lt;/excludes&amp;gt;
&lt;/pre&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,
&quot;-sources-feature&quot; 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 &lt;code&gt;true&lt;/code&gt;, 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
&lt;code&gt;sourceTemplateFeature/feature.properties&lt;/code&gt;, 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 &amp;lt;extraRequirements&amp;gt; dependency resolver configuration to guarantee proper
reactor build order.
&lt;p&gt;
&lt;strong&gt;WARNING&lt;/strong&gt; This experimental parameter may be removed from future
source-feature mojo versions without prior notice.</description>
</parameter>
<parameter>
<name>project</name>
<type>org.apache.maven.project.MavenProject</type>
<required>false</required>
<editable>false</editable>
<description></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>session</name>
<type>org.apache.maven.execution.MavenSession</type>
<required>false</required>
<editable>false</editable>
<description></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"/>
<project implementation="org.apache.maven.project.MavenProject">${project}</project>
<reuseBrandingPlugin implementation="boolean" default-value="true"/>
<session implementation="org.apache.maven.execution.MavenSession">${session}</session>
<skip implementation="boolean" default-value="false"/>
</configuration>
<requirements>
<requirement>
<role>org.eclipse.sisu.equinox.EquinoxServiceFactory</role>
<field-name>equinox</field-name>
</requirement>
<requirement>
<role>org.codehaus.plexus.archiver.Archiver</role>
<role-hint>jar</role-hint>
<field-name>jarArchiver</field-name>
</requirement>
<requirement>
<role>org.eclipse.tycho.packaging.LicenseFeatureHelper</role>
<field-name>licenseFeatureHelper</field-name>
</requirement>
<requirement>
<role>org.codehaus.plexus.logging.Logger</role>
<field-name>logger</field-name>
</requirement>
<requirement>
<role>org.apache.maven.project.MavenProjectHelper</role>
<field-name>projectHelper</field-name>
</requirement>
</requirements>
</mojo>
</mojos>
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<type>jar</type>
<version>3.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<type>jar</type>
<version>3.0</version>
</dependency>
<dependency>
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-inject-plexus</artifactId>
<type>jar</type>
<version>1.4.2</version>
</dependency>
<dependency>
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-inject-bean</artifactId>
<type>jar</type>
<version>1.4.2</version>
</dependency>
<dependency>
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-guice</artifactId>
<type>jar</type>
<version>2.1.7</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<type>jar</type>
<version>3.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-settings</artifactId>
<type>jar</type>
<version>3.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-settings-builder</artifactId>
<type>jar</type>
<version>3.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-repository-metadata</artifactId>
<type>jar</type>
<version>3.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-aether-provider</artifactId>
<type>jar</type>
<version>3.0</version>
</dependency>
<dependency>
<groupId>org.sonatype.aether</groupId>
<artifactId>aether-impl</artifactId>
<type>jar</type>
<version>1.7</version>
</dependency>
<dependency>
<groupId>org.sonatype.aether</groupId>
<artifactId>aether-spi</artifactId>
<type>jar</type>
<version>1.7</version>
</dependency>
<dependency>
<groupId>org.sonatype.aether</groupId>
<artifactId>aether-api</artifactId>
<type>jar</type>
<version>1.7</version>
</dependency>
<dependency>
<groupId>org.sonatype.aether</groupId>
<artifactId>aether-util</artifactId>
<type>jar</type>
<version>1.7</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-interpolation</artifactId>
<type>jar</type>
<version>1.14</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<type>jar</type>
<version>3.0.24</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-classworlds</artifactId>
<type>jar</type>
<version>2.2.3</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-component-annotations</artifactId>
<type>jar</type>
<version>1.5.5</version>
</dependency>
<dependency>
<groupId>org.sonatype.plexus</groupId>
<artifactId>plexus-sec-dispatcher</artifactId>
<type>jar</type>
<version>1.3</version>
</dependency>
<dependency>
<groupId>org.sonatype.plexus</groupId>
<artifactId>plexus-cipher</artifactId>
<type>jar</type>
<version>1.4</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-archiver</artifactId>
<type>jar</type>
<version>2.5</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-archiver</artifactId>
<type>jar</type>
<version>3.4</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-io</artifactId>
<type>jar</type>
<version>2.7.1</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<type>jar</type>
<version>2.5</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<type>jar</type>
<version>1.18</version>
</dependency>
<dependency>
<groupId>org.iq80.snappy</groupId>
<artifactId>snappy</artifactId>
<type>jar</type>
<version>0.4</version>
</dependency>
<dependency>
<groupId>org.tukaani</groupId>
<artifactId>xz</artifactId>
<type>jar</type>
<version>1.5</version>
</dependency>
<dependency>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-core</artifactId>
<type>jar</type>
<version>1.5.1-20191024.160441-1</version>
</dependency>
<dependency>
<groupId>org.eclipse.tycho</groupId>
<artifactId>org.eclipse.tycho.p2.tools.shared</artifactId>
<type>jar</type>
<version>1.5.1-20191024.160127-1</version>
</dependency>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.osgi.compatibility.state</artifactId>
<type>jar</type>
<version>1.1.600</version>
</dependency>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.osgi</artifactId>
<type>jar</type>
<version>3.15.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.tycho</groupId>
<artifactId>sisu-equinox-embedder</artifactId>
<type>jar</type>
<version>1.5.1-20191024.160413-1</version>
</dependency>
<dependency>
<groupId>org.eclipse.tycho</groupId>
<artifactId>sisu-equinox-api</artifactId>
<type>jar</type>
<version>1.5.1-20191024.160408-1</version>
</dependency>
<dependency>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-metadata-model</artifactId>
<type>jar</type>
<version>1.5.1-20191024.160420-1</version>
</dependency>
<dependency>
<groupId>de.pdark</groupId>
<artifactId>decentxml</artifactId>
<type>jar</type>
<version>1.3</version>
</dependency>
<dependency>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-embedder-api</artifactId>
<type>jar</type>
<version>1.5.1-20191024.160423-1</version>
</dependency>
<dependency>
<groupId>org.eclipse.tycho</groupId>
<artifactId>org.eclipse.tycho.embedder.shared</artifactId>
<type>jar</type>
<version>1.5.1-20191024.160116-1</version>
</dependency>
<dependency>
<groupId>org.eclipse.tycho</groupId>
<artifactId>org.eclipse.tycho.core.shared</artifactId>
<type>jar</type>
<version>1.5.1-20191024.160122-1</version>
</dependency>
<dependency>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-facade</artifactId>
<type>jar</type>
<version>1.5.1-20191024.160539-1</version>
</dependency>
<dependency>
<groupId>org.eclipse.tycho</groupId>
<artifactId>org.eclipse.tycho.p2.resolver.shared</artifactId>
<type>jar</type>
<version>1.5.1-20191024.160126-1</version>
</dependency>
<dependency>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<type>maven-plugin</type>
<version>1.5.1-20191024.160527-1</version>
</dependency>
</dependencies>
</plugin>