| <!DOCTYPE html> |
| <!-- |
| | Generated by Apache Maven Doxia at 2015-06-08 |
| | 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="20150608" /> |
| <meta http-equiv="Content-Language" content="en" /> |
| <title>Tycho p2 Repository Plugin (Incubation) - 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>Tycho p2 Repository 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: 2015-06-08</li> |
| <li class="divider">|</li> <li id="projectVersion">Version: 0.23.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</li> |
| |
| <li> |
| |
| <a href="../../index.html" title="Introduction"> |
| <i class="none"></i> |
| Introduction</a> |
| </li> |
| |
| <li> |
| |
| <a href="../../tycho-compiler-plugin/plugin-info.html" title="Compiler Plugin"> |
| <i class="none"></i> |
| Compiler Plugin</a> |
| </li> |
| |
| <li> |
| |
| <a href="../../tycho-packaging-plugin/plugin-info.html" title="Packaging Plugin"> |
| <i class="none"></i> |
| Packaging Plugin</a> |
| </li> |
| |
| <li> |
| |
| <a href="../../BuildProperties.html" title="Build Properties"> |
| <i class="none"></i> |
| Build Properties</a> |
| </li> |
| |
| <li> |
| |
| <a href="../../tycho-surefire/tycho-surefire-plugin/plugin-info.html" title="Surefire Plugin"> |
| <i class="none"></i> |
| Surefire Plugin</a> |
| </li> |
| |
| <li> |
| |
| <a href="../../tycho-p2/tycho-p2-publisher-plugin/plugin-info.html" title="p2 Publisher Plugin"> |
| <i class="none"></i> |
| p2 Publisher Plugin</a> |
| </li> |
| |
| <li> |
| |
| <a href="../../tycho-p2/tycho-p2-repository-plugin/plugin-info.html" title="p2 Repository Plugin"> |
| <i class="none"></i> |
| p2 Repository Plugin</a> |
| </li> |
| |
| <li> |
| |
| <a href="../../tycho-p2/tycho-p2-director-plugin/plugin-info.html" title="p2 Director Plugin"> |
| <i class="none"></i> |
| p2 Director Plugin</a> |
| </li> |
| |
| <li> |
| |
| <a href="../../tycho-source-plugin/plugin-info.html" title="Source Plugin"> |
| <i class="none"></i> |
| Source Plugin</a> |
| </li> |
| |
| <li> |
| |
| <a href="../../tycho-release/tycho-versions-plugin/plugin-info.html" title="Versions Plugin"> |
| <i class="none"></i> |
| Versions Plugin</a> |
| </li> |
| |
| <li> |
| |
| <a href="../../tycho-pomgenerator-plugin/plugin-info.html" title="POM Generator Plugin"> |
| <i class="none"></i> |
| POM Generator Plugin</a> |
| </li> |
| |
| <li> |
| |
| <a href="../../TychoProperties.html" title="Tycho Properties"> |
| <i class="none"></i> |
| Tycho Properties</a> |
| </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" > |
| |
| <div class="section">
|
| <h2>Plugin Documentation<a name="Plugin_Documentation"></a></h2><a name="Plugin_Documentation"></a>
|
| <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="archive-repository-mojo.html">tycho-p2-repository:archive-repository</a></td>
|
| <td><p>Creates a zip archive with the aggregated p2 repository.</p></td></tr>
|
| <tr class="a">
|
| <td><a href="assemble-repository-mojo.html">tycho-p2-repository:assemble-repository</a></td>
|
| <td><p>Aggregates content into a p2 repository in
|
| <code>${project.build.directory}/repository</code>.</p>
|
| <ol>
|
| <li>Copies resources (if any) from
|
| <code>${project.build.outputDirectory}</code> to
|
| <code>${project.build.directory}/repository</code>. This allows to
|
| include additional files such as <code>index.html</code> or about
|
| files from <code>src/main/resources</code> (or elsewhere) into the
|
| p2 repository.</li>
|
| <li>The p2 aggregation into
|
| <code>${project.build.directory}/repository</code> runs
|
| recursively: it starts with the content published in the current
|
| module, and traverses all artifacts that are marked as
|
| <em>included</em> in already aggregated artifacts. (The following
|
| artifacts can include other artifacts: categories, products, and
|
| features. Note: Dependencies with a strict version range, i.e. a
|
| range which only matches exactly one version of an artifact, are
|
| also considered as inclusions.)</li>
|
| </ol>
|
| <br />
|
| <br /></td></tr>
|
| <tr class="b">
|
| <td><a href="verify-repository-mojo.html">tycho-p2-repository:verify-repository</a></td>
|
| <td><p>Checks the consistency of the aggregated p2 repository.</p></td></tr></table>
|
| <div class="section">
|
| <h3>System Requirements<a name="System_Requirements"></a></h3><a name="System_Requirements"></a>
|
| <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.7</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>
|
| <div class="section">
|
| <h3>Usage<a name="Usage"></a></h3><a name="Usage"></a>
|
| <p>You should specify the version in your project's plugin configuration:</p>
|
| <div class="source">
|
| <pre><project>
|
| ...
|
| <build>
|
| <!-- To define the plugin version in your parent POM -->
|
| <pluginManagement>
|
| <plugins>
|
| <plugin>
|
| <groupId>org.eclipse.tycho</groupId>
|
| <artifactId>tycho-p2-repository-plugin</artifactId>
|
| <version>0.23.0</version>
|
| </plugin>
|
| ...
|
| </plugins>
|
| </pluginManagement>
|
| <!-- To use the plugin goals in your POM or parent POM -->
|
| <plugins>
|
| <plugin>
|
| <groupId>org.eclipse.tycho</groupId>
|
| <artifactId>tycho-p2-repository-plugin</artifactId>
|
| <version>0.23.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 © 2008-2015 |
| <a href="http://www.eclipse.org/">Eclipse Foundation</a>. |
| All Rights Reserved. |
| |
| </div> |
| |
| |
| |
| </div> |
| </footer> |
| </body> |
| </html> |