<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: supress new PMV creation when deploying with project-build-plugin</title><link>https://answers.axonivy.com/questions/4310/supress-new-pmv-creation-when-deploying-with-project-build-plugin</link><description>&lt;p&gt;I got a problem with Project Build Plugin, it creates new pvm all the time.&lt;/p&gt;
&lt;p&gt;do we have any option like redeploy=true to skip create new pvm?&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Minh&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/4310/supress-new-pmv-creation-when-deploying-with-project-build-plugin" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 09 Jan 2020 03:00:34 -0500</lastBuildDate><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/4310/supress-new-pmv-creation-when-deploying-with-project-build-plugin/4311</link><description>&lt;p&gt;New PMVs will be automatically created if the version of your artifact in 'pom.xml'  (Deployment) differs from the one deployed. 
Whenever you deploy a higher version the engine will also introduce a new PMV.&lt;/p&gt;
&lt;p&gt;In 7.0 one has to carefully maintain version of projects an be aware that it influences PMV versioning on the remote engine. And indeed, this is a show stopper if you prefer a strict maven versioning concept using released versions. Therefore, you have to find a compromise, e.g re-package your IAR for deployment or work with SNAPSHOT artifacts.&lt;/p&gt;
&lt;p&gt;However, &lt;strong&gt;with 8.0 LTS the developer has full control over the remote versioning&lt;/strong&gt;: &lt;a href="https://developer.axonivy.com/doc/latest/engine-guide/administration/deployment.html#versioning"&gt;https://developer.axonivy.com/doc/latest/engine-guide/administration/deployment.html#versioning&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Just provide a &lt;code&gt;deploy.options.yaml&lt;/code&gt; with your versioning preference and the engine will comply with it.
This can most easily be accomplished via a maven parameter: &lt;a href="http://axonivy.github.io/project-build-plugin/release/8.0/deploy-to-engine-mojo.html#deployTargetVersion"&gt;http://axonivy.github.io/project-build-plugin/release/8.0/deploy-to-engine-mojo.html#deployTargetVersion&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Thu, 09 Jan 2020 03:00:34 -0500</pubDate><guid>https://answers.axonivy.com/questions/4310/supress-new-pmv-creation-when-deploying-with-project-build-plugin/4311</guid></item></channel></rss>