The repository under ./bin/.niogit folder is only used by BC internally. You need to push to your "source of truth repo", either using an automated GIT Hook mechanism or manually.
Similarly if you want to move stuff between 2 BC instances, use GIT CLI commands and/or the import feature in BC.
Your custom WIH should not be in the same project as your assets. You just need to load the JAR file containing your WIH into the local BC Maven repo and add a Maven dependency to it from the KJar project.
------------------------------
Richard Bourner
------------------------------
Original Message:
Sent: Wed September 25, 2024 12:40 AM
From: Suman Paul
Subject: How to set up custom maven and git repository for the Business Central in BAMOE 8.0.5
There is a default repository settings in the BAMOE 8.0.5 under the <EAP Installation>/bin folder. I wanted to set up the repository by my own and use the same in Business Central and my Work Item Handler development. Also wanted to know, what is the process to migrate BPMN artifacts from source business central (where only out of the box local maven repository is used) to destination business central for development activity. I am aware that artifacts can be exported as BPMN and then can be imported, but that is a time consuming and monotonous activity. Wanted to know whether there is any method to migrate all artifacts at one go from a source to target business central. Also, how to set up the git for central way of code sharing in BAMOE 8.0.5 standalone version.
------------------------------
Suman Paul
------------------------------