Forum Discussion
ptaylor
5 years agoEmployee
Robert,
I’ve been testing this using a new snap pack created with our maven archetype.
I’ve been successfully able to update the version number and get the behavior you expect, where the new version just replaces the old one.
However, there are number of places where the version and build numbers need to match:
- The VERSION property in the
<properties>
section of the pom. You’ve changed this to 2. - The sl_build property in the
<properties>
section. You’ve changed this to 1, correct? - The
<version>
at the top of the pom should be VERSION-sl_build, so in your case 2_1. - The VERSION in the config/directives file should be 2.
- The @Version annotations on all of the snaps and accounts should have snap = 2.
Can you please verify all of that?
- ptaylor5 years agoEmployee
Also, after uploading the new zip file, you need to refresh the Designer tab in your browser so that the catalog is reloaded. You’ll see the old version number if you don’t do that. I assume you refreshed.