3.3. Migrating from 6.0.x to 6.2
3.3.1. Migrating Client Application APIs from 6.0.x to 6.2
3.3.2. Migrating Business Central Project, Repository, and Artifacts from 6.0.x to 6.2
.niogit folder) and maven local dependencies (bin/repositories) to a new JBoss BPM Suite 6.2 installation.
Procedure 3.7. Migrate a Single Project
- Turn off JBoss BPM Suite 6.0.x and JBoss BPM Suite 6.2 instances.
- Navigate to
.niogitfolder of JBoss BPM Suite 6.0.x installation. - Clone the repository where desired project is located.
$ git clone repository603.git
- Navigate to the JBoss BPM Suite 6.2.0
niogitfolder. - Clone the repository where you want to migrate the 6.0.x project.
$ git clone repository620.git
- Copy the project from 6.0.x cloned repository to 6.2.x cloned repository.
$ cp -R /path/to/6.0.3/project /path/to/6.2.0/repository
- Navigate to the 6.2.0 cloned repository.
$ cd /path/to/6.2.0/repository
- Commit the newly added 6.0.x project to your new 6.2.0 repository.
$ git add ./copied-6.0.3-project/* $ git commit -m "migrating 6.0.3 project to 6.2.0 repository" $ git push
- Start JBoss BPM Suite 6.2.0. The 6.0.3 project should be successfully migrated and visible under the specified repository.
Note
The following procedure demonstrates how to migrate a selected JBoss BPM Suite 6.0.x repository to JBoss BPM Suite 6.2.0 installation.
Procedure 3.8. Clone and Migrate a Repository
- Turn on JBoss BPM Suite 6.2.0.
- Log in to Business Central and navigate to → → → .
- Fill in the form. For example:
Repository Name - MyOld603Repo Organizational Unit - example Git URL - file:///path/to/old/603/.niogit/repository.git
and press . - The repository should be now available for Authoring.
The Artifact Repository is an internal maven repository for JBoss BPM Suite. The default internal maven repository is created in a working directory of JBoss BPM Suite 6.2.0 installation, with the folder name repositories/kie.
Procedure 3.9. Migrating Maven Artifacts using the GUI
- Turn on JBoss BPM Suite 6.2.
- Navigate to → .
- Upload the Artifact from your old 6.0.3 installation.
Procedure 3.10. Migrating a Particular Artifact
- Consider following KJAR, which was installed into JBoss BPM Suite 6.0.x Artifact Repository by Business Central.

Figure 3.4. Installed KJAR
- Copy this artifact to the JBoss BPM Suite 6.2.0 Artifact Repository. For example:
$ cp -R --parents /path/to/603/kjar/kie/org/redhat/gss/TimerProject/ /path/to/bpms-610-psql/bin/repositories/
The--parentsargument will ensure that all the necessary folders (if missing) will be created in 6.2.0 too. In this case, it will honor the/org/redhat/gss/TimerProjectpath. - Start the JBoss BPM Suite 6.2.0 installation and navigate to Artifact Repository. The copied artifact should be present as shown.

Figure 3.5. Artifact Repository
.niogit Folder
In order to migrate the whole .niogit from 6.0.x to 6.2.0, set the org.uberfire.nio.git.dir property in 6.2.0 as follows.
$ ./standalone.sh -Dorg.uberfire.nio.git.dir=/path/to/6.0.3/.niogit

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.