blob: cebb10d057292d97034d65a7fb35eb3e0af1dfe5 [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>sop-targetPlatformUpdate</title>
</properties>
<body>
<section name="Context">
<p>All components are based upon a set of targets platform localized at the targetplatform directory. You can update them with the Obeo plugin or directly from a maven command.</p>
<p>It will switch resolve all feature with the latest ones found on the different update site you are referring.</p>
</section>
<section name="How to?">
<subsection name="Pre-requisite">
<p>You have to have a target.file at the root of your target platform plugin. You need to specify with target platform to activate through profile management.</p>
<source>
mvn validate -DtargetUpdate=true -Declipse.targetrelease=neon-papyrusnightly -Declipse.release=neon-papyrusnightly -f targetplatform/pom.xml
</source>
<p>the tycho-version-bump-plugin is bound to the validate phase</p>
<p>-DtargetUpdate=true ensure you enforce the taregtUpdate</p>
<p>-Declipse.targetrelease=neon-papyrusnightly -Declipse.release=neon-papyrusnightly: specify with target to update</p>
<p>-f targetplatform/pom.xml: specify the pom to look at</p>
</subsection>
</section>
</body>
</document>