Skip to main content
Version: 10.2.8

Migrate ODF 2 project to version 10.2.8

The guide describes the steps to migrate an ODF 2-based project from v10.2.7 to v10.2.8.

Migrate ODF 2 project

To migrate an ODF 2-based project from v10.2.7 to v10.2.8, do as follows:

  1. Open the root pom.xml of your project. In the <properties> section, find the <odf2.version> property.

    Update the ODF 2 version according to the compatibility matrix. Also, update the <bundle-versions-maven-plugin.version> and <bundle-maven-plugin.version> properties for Bundle version Maven plugin and Bundle Maven plugin accordingly:

    <!-- TODO: update versions after the 10.2.8 public release -->
    <properties>
    <odf2.version>10.2.8.X</odf2.version>
    <bundle-versions-maven-plugin.version>0.0.30</bundle-versions-maven-plugin.version>
    <bundle-maven-plugin.version>10.2.8.X</bundle-maven-plugin.version>
    </properties>
  2. Build the project with the mvn clean verify command. Make sure there are no compilation errors, and all unit tests of your project have passed successfully.

Use migration templates

Starting from 10.2.8 version, the ODF 2 framework allows you to manage Liquibase migrations for the Standard Data Model automatically using migration templates. For instructions to migrate your project to the new approach, refer to the guide.