blob: bbef77d92ab248b5c156092790e56a1caa19a4a5 [file] [log] [blame]
<!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia at 2018-12-17
| 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="20181217" />
<meta http-equiv="Content-Language" content="en" />
<title>p2 Extras Plugin &#x2013; tycho-p2-extras:compare-version-with-baselines</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>p2 Extras Plugin</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: 2018-12-17</li>
<li class="divider">|</li> <li id="projectVersion">Version: 1.3.0</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-document-bundle-plugin/plugin-info.html" title="Document Bundle Plugin">
<i class="none"></i>
Document Bundle 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" >
<div class="section">
<h2><a name="tycho-p2-extras:compare-version-with-baselines"></a>tycho-p2-extras:compare-version-with-baselines</h2>
<p><b>Full name</b>:</p>
<p>org.eclipse.tycho.extras:tycho-p2-extras-plugin:1.3.0:compare-version-with-baselines</p>
<p><b>Description</b>:</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 &quot;illegal&quot; 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><b>Attributes</b>:</p>
<ul>
<li>Binds by default to the <a class="externalLink" href="http://maven.apache.org/ref/current/maven-core/lifecycles.html">lifecycle phase</a>: <tt>verify</tt>.</li>
</ul>
<div class="section">
<h3><a name="Optional_Parameters"></a>Optional Parameters</h3>
<table class="table table-striped" border="0">
<tr class="a">
<th>Name</th>
<th>Type</th>
<th>Since</th>
<th>Description</th>
</tr>
<tr class="b">
<td><tt><a href="#baselines">&lt;baselines&gt;</a></tt></td>
<td><tt>List</tt></td>
<td><tt>-</tt></td>
<td>A list of p2 repositories to be used as baseline. Those are
typically the most recent released versions of your project.<br /><b>User property is</b>: <tt>baselines</tt>.<br /></td>
</tr>
<tr class="a">
<td><tt><a href="#onIllegalVersion">&lt;onIllegalVersion&gt;</a></tt></td>
<td><tt>CompareWithBaselineMojo$ReportBehavior</tt></td>
<td><tt>-</tt></td>
<td>(no description)<br /><b>Default value is</b>: <tt>fail</tt>.<br /><b>User property is</b>: <tt>onIllegalVersion</tt>.<br /></td>
</tr>
<tr class="b">
<td><tt><a href="#skip">&lt;skip&gt;</a></tt></td>
<td><tt>boolean</tt></td>
<td><tt>-</tt></td>
<td>(no description)<br /><b>User property is</b>: <tt>skip</tt>.<br /></td>
</tr>
</table>
</div>
<div class="section">
<h3><a name="Parameter_Details"></a>Parameter Details</h3>
<div class="section">
<h4><a name="abaselines"></a><b><a name="baselines">&lt;baselines&gt;</a></b></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><b>Type</b>: <tt>java.util.List</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>baselines</tt></li>
</ul><hr /></div>
<div class="section">
<h4><a name="aonIllegalVersion"></a><b><a name="onIllegalVersion">&lt;onIllegalVersion&gt;</a></b></h4>
<div>(no description)</div>
<ul>
<li><b>Type</b>: <tt>org.eclipse.tycho.plugins.p2.extras.CompareWithBaselineMojo$ReportBehavior</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>onIllegalVersion</tt></li>
<li><b>Default</b>: <tt>fail</tt></li>
</ul><hr /></div>
<div class="section">
<h4><a name="askip"></a><b><a name="skip">&lt;skip&gt;</a></b></h4>
<div>(no description)</div>
<ul>
<li><b>Type</b>: <tt>boolean</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>skip</tt></li>
</ul>
</div></div>
</div>
</div>
</div>
</div>
<hr/>
<footer>
<div class="container-fluid">
<div class="row span12">Copyright &copy; 2010-2018
<a href="http://www.eclipse.org/">Eclipse Foundation</a>.
All Rights Reserved.
</div>
</div>
</footer>
</body>
</html>