Configuring A New Project - tsgrp/OpenMigrate GitHub Wiki
Setup:
- Create a build.gradle in the root folder of your client's OpenMigrate configs and define the following properties:
-
project.ext.masterBuildPath - this should point to your root build.gradle script (located in the {OM_ROOT}/code/build-files directory).
-
project.ext.requiredModules - these are all the modules you will need for your migration to run (modules are located in {OM_ROOT}/code/modules). Whatever is referenced in your configuration should be included here.
- Copy the 'apply from' command and dependencies definition from the example below:
- Create a settings.gradle in the root folder of your client's OpenMigrate configs and point the project to your required modules location on the file system (see example below). Be sure to define what modules you are using as well by using the 'include' command (again, see example below - which includes the 'core', 'alfresco-cmis', and 'email' modules).
NOTE: Examples of build.gradle and settings.gradle can be found throughout OpenMigrate. Be sure to refer to those while authoring your own gradle configs to supplement the examples that are provided in this guide.