| <!DOCTYPE html> |
| <!-- |
| | Generated by Apache Maven Doxia at Mar 15, 2013 |
| | Rendered using Apache Maven Fluido Skin 1.3.0 |
| --> |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| <head> |
| <meta charset="UTF-8" /> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| <meta name="Date-Revision-yyyymmdd" content="20130315" /> |
| <meta http-equiv="Content-Language" content="en" /> |
| <title>Plugin Documentation</title> |
| <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" /> |
| <link rel="stylesheet" href="./css/site.css" /> |
| <link rel="stylesheet" href="./css/print.css" media="print" /> |
| |
| |
| <script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script> |
| |
| |
| </head> |
| <body class="topBarDisabled"> |
| |
| |
| |
| <div class="container-fluid"> |
| <div id="banner"> |
| <div class="pull-left"> |
| <div id="bannerLeft"> |
| <h2>Source Feature Generation Plugin (Incubation)</h2> |
| </div> |
| </div> |
| <div class="pull-right"> </div> |
| <div class="clear"><hr/></div> |
| </div> |
| |
| <div id="breadcrumbs"> |
| <ul class="breadcrumb"> |
| |
| |
| <li id="publishDate">Last Published: 2013-03-15</li> |
| <li class="divider">|</li> <li id="projectVersion">Version: 0.17.0</li> |
| |
| |
| |
| |
| |
| <li class="pull-right"> <a href="http://wiki.eclipse.org/Development_Resources/HOWTO/Incubation_Phase#.281.29_What_Is_Incubation.3F" class="externalLink" title="This content is PRELIMINARY API and still subject to change"> |
| This content is PRELIMINARY API and still subject to change</a> |
| </li> |
| |
| </ul> |
| </div> |
| |
| |
| <div class="row-fluid"> |
| <div id="leftColumn" class="span3"> |
| <div class="well sidebar-nav"> |
| |
| |
| <ul class="nav nav-list"> |
| <li class="nav-header">Tycho Extras</li> |
| |
| <li> |
| |
| <a href="../index.html" title="Introduction"> |
| <i class="none"></i> |
| Introduction</a> |
| </li> |
| |
| <li> |
| |
| <a href="../tycho-p2-extras-plugin/plugin-info.html" title="P2 Extras Plugin"> |
| <i class="none"></i> |
| P2 Extras Plugin</a> |
| </li> |
| |
| <li> |
| |
| <a href="../target-platform-validation-plugin/plugin-info.html" title="Target Platform Validation Plugin"> |
| <i class="none"></i> |
| Target Platform Validation Plugin</a> |
| </li> |
| |
| <li> |
| |
| <a href="../tycho-eclipserun-plugin/plugin-info.html" title="Eclipserun Plugin"> |
| <i class="none"></i> |
| Eclipserun Plugin</a> |
| </li> |
| |
| <li> |
| |
| <a href="../tycho-source-feature-plugin/plugin-info.html" title="Source Feature Generation Plugin"> |
| <i class="none"></i> |
| Source Feature Generation Plugin</a> |
| </li> |
| |
| <li> |
| |
| <a href="../tycho-pack200/index.html" title="Pack200 Plugins"> |
| <i class="icon-chevron-down"></i> |
| Pack200 Plugins</a> |
| <ul class="nav nav-list"> |
| |
| <li> |
| |
| <a href="../tycho-pack200/tycho-pack200a-plugin/plugin-info.html" title="Normalization Plugin"> |
| <i class="none"></i> |
| Normalization Plugin</a> |
| </li> |
| |
| <li> |
| |
| <a href="../tycho-pack200/tycho-pack200b-plugin/plugin-info.html" title="Pack Plugin"> |
| <i class="none"></i> |
| Pack Plugin</a> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| |
| |
| |
| <hr class="divider" /> |
| |
| <div id="poweredBy"> |
| <div class="clear"></div> |
| <div class="clear"></div> |
| <div class="clear"></div> |
| <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> |
| <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /> |
| </a> |
| </div> |
| </div> |
| </div> |
| |
| |
| <div id="bodyColumn" class="span9" > |
| |
| <a name="Plugin_Documentation"></a><div class="section"><h2>Plugin Documentation<a name="Plugin_Documentation"></a></h2><p>Goals available for this plugin:</p><table border="0" class="table table-striped"><tr class="a"><th>Goal</th><th>Description</th></tr><tr class="b"><td><a href="source-feature-mojo.html">tycho-source-feature:source-feature</a></td><td>Generates a source feature for projects of packaging type
|
| <code>eclipse-feature</code>. By default, the generated source
|
| feature
|
| <ul>
|
| <li>Declares feature id
|
| <code><originalFeatureId>.source</code></li>
|
| <li>Declares feature label <code>"<originalFeatureLabel>
|
| Developer Resources"</code></li>
|
| <li>If present, reuses feature provider, description, copyright and
|
| license as well as respective URLs from
|
| <originalFeature></li>
|
| <li>Includes all plugins included by <originalFeature>, but
|
| each with <code>.source</code> appended to each plugin id</li>
|
| <li>Includes all features included by <originalFeature>, but
|
| each with <code>.source</code> appended to each feature id</li>
|
| <li>Includes the original feature. This ensures that binaries and
|
| corresponding sources match.</li>
|
| </ul>
|
| Source feature generation can be customized by adding files under
|
| path <code>sourceTemplateFeature/</code>. Files added here will be
|
| added to the root of the source feature jar. Especially, if file
|
| <code>sourceTemplateFeature/feature.properties</code> is found,
|
| values in this file override values of respective keys in
|
| <code><originalFeature>/feature.properties</code>.</td></tr></table><a name="System_Requirements"></a><div class="section"><h3>System Requirements<a name="System_Requirements"></a></h3><p>The following specifies the minimum requirements to run this Maven plugin:</p><table border="0" class="table table-striped"><tr class="a"><td>Maven</td><td>3.0</td></tr><tr class="b"><td>JDK</td><td>1.5</td></tr><tr class="a"><td>Memory</td><td>No minimum requirement.</td></tr><tr class="b"><td>Disk Space</td><td>No minimum requirement.</td></tr></table></div><a name="Usage"></a><div class="section"><h3>Usage<a name="Usage"></a></h3><p>You should specify the version in your project's plugin configuration:</p><div class="source"><pre class="prettyprint"><project>
|
| ...
|
| <build>
|
| <!-- To define the plugin version in your parent POM -->
|
| <pluginManagement>
|
| <plugins>
|
| <plugin>
|
| <groupId>org.eclipse.tycho.extras</groupId>
|
| <artifactId>tycho-source-feature-plugin</artifactId>
|
| <version>0.17.0</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-source-feature-plugin</artifactId>
|
| <version>0.17.0</version>
|
| </plugin>
|
| ...
|
| </plugins>
|
| </build>
|
| ...
|
| </project>
|
| </pre></div><p>For more information, see <a class="externalLink" href="http://maven.apache.org/guides/mini/guide-configuring-plugins.html">"Guide to Configuring Plug-ins"</a></p></div></div> |
| </div> |
| </div> |
| </div> |
| |
| <hr/> |
| |
| <footer> |
| <div class="container-fluid"> |
| <div class="row span12">Copyright © 2010-2013 |
| <a href="http://www.eclipse.org/">Eclipse Foundation</a>. |
| All Rights Reserved. |
| |
| </div> |
| |
| |
| |
| </div> |
| </footer> |
| </body> |
| </html> |