I got a problem with Project Build Plugin, it creates new pvm all the time.

do we have any option like redeploy=true to skip create new pvm?

Thank you,

Minh

asked 09.01 at 02:49

docvominh's gravatar image

docvominh
10117
accept rate: 0%

edited 09.01 at 04:24

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
8.9k21855


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.

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.

However, with 8.0 LTS the developer has full control over the remote versioning: https://developer.axonivy.com/doc/latest/engine-guide/administration/deployment.html#versioning

Just provide a deploy.options.yaml with your versioning preference and the engine will comply with it. This can most easily be accomplished via a maven parameter: http://axonivy.github.io/project-build-plugin/release/8.0/deploy-to-engine-mojo.html#deployTargetVersion

link

answered 09.01 at 03:00

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
8.9k21855
accept rate: 69%

edited 09.01 at 04:23

Great, thank you very much :)

(19.02 at 04:03) docvominh docvominh's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×22
×6

Asked: 09.01 at 02:49

Seen: 129 times

Last updated: 19.02 at 05:35