blob: ffd659491a2aa79cf278d96a7c4293482ab89b6b [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>tycho-p2-extras:compare-version-with-baselines</title>
</properties>
<body>
<section name="tycho-p2-extras:compare-version-with-baselines">
<p><strong>Full name</strong>:</p>
<p>org.eclipse.tycho.extras:tycho-p2-extras-plugin:1.5.1-SNAPSHOT:compare-version-with-baselines</p>
<p><strong>Description</strong>:</p>
<div>This mojo compares versions the output artifacts of your module
build with the version of the same artifacts available in
configured baselines, in order to detect version inconsistencies
(version moved back, or not correctly bumped since last release).
Rules for "illegal" versions are:
<ul class="noindent">
<li>version decreased compared to baseline</li>
<li>same fully-qualified version as baseline, but with different
binary content</li>
<li>same major.minor.micro as baseline, with different qualifier
(at least micro should be increased)</li>
<li style="list-style: none">This mojo doesn't allow to use
qualifier as a versioning segment and will most likely drive to
false-positive errors if your qualifier has means to show
versioniterations.</li>
</ul></div>
<p><strong>Attributes</strong>:</p>
<ul>
<li>Binds by default to the <a href="http://maven.apache.org/ref/current/maven-core/lifecycles.html">lifecycle phase</a>: <code>verify</code>.</li>
</ul>
<subsection name="Optional Parameters">
<table border="0">
<tr>
<th>Name</th>
<th>Type</th>
<th>Since</th>
<th>Description</th>
</tr>
<tr>
<td><code><a href="#baselines">&lt;baselines&gt;</a></code></td>
<td><code>List</code></td>
<td><code>-</code></td>
<td>A list of p2 repositories to be used as baseline. Those are
typically the most recent released versions of your project.<br/><strong>User property is</strong>: <code>baselines</code>.<br/></td>
</tr>
<tr>
<td><code><a href="#onIllegalVersion">&lt;onIllegalVersion&gt;</a></code></td>
<td><code>CompareWithBaselineMojo$ReportBehavior</code></td>
<td><code>-</code></td>
<td>(no description)<br/><strong>Default value is</strong>: <code>fail</code>.<br/><strong>User property is</strong>: <code>onIllegalVersion</code>.<br/></td>
</tr>
<tr>
<td><code><a href="#skip">&lt;skip&gt;</a></code></td>
<td><code>boolean</code></td>
<td><code>-</code></td>
<td>(no description)<br/><strong>User property is</strong>: <code>skip</code>.<br/></td>
</tr>
</table>
</subsection>
<subsection name="Parameter Details">
<h4><strong><a name="baselines">&lt;baselines&gt;</a></strong></h4>
<div>A list of p2 repositories to be used as baseline. Those are
typically the most recent released versions of your project.</div>
<ul>
<li><strong>Type</strong>: <code>java.util.List</code></li>
<li><strong>Required</strong>: <code>No</code></li>
<li><strong>User Property</strong>: <code>baselines</code></li>
</ul><hr/><h4><strong><a name="onIllegalVersion">&lt;onIllegalVersion&gt;</a></strong></h4>
<div>(no description)</div>
<ul>
<li><strong>Type</strong>: <code>org.eclipse.tycho.plugins.p2.extras.CompareWithBaselineMojo$ReportBehavior</code></li>
<li><strong>Required</strong>: <code>No</code></li>
<li><strong>User Property</strong>: <code>onIllegalVersion</code></li>
<li><strong>Default</strong>: <code>fail</code></li>
</ul><hr/><h4><strong><a name="skip">&lt;skip&gt;</a></strong></h4>
<div>(no description)</div>
<ul>
<li><strong>Type</strong>: <code>boolean</code></li>
<li><strong>Required</strong>: <code>No</code></li>
<li><strong>User Property</strong>: <code>skip</code></li>
</ul>
</subsection>
</section>
</body>
</document>