Perform Artifactory configuration steps then append following snippet in pom.xml before project tag close:
<distributionManagement>
<snapshotRepository>
<id>snapshots</id>
<name>${NAME}(e.g. libs-snapshots-pam)</name>
<url>${SNAPSHOT_REPO_URL}(e.g. http://mavenserver:8081/artifactory/pam)</url>
</snapshotRepository>
</distributionManagement>
To add this snippet via Business Central switch to repository view in Project Explorer:
Then click on pom.xml to edit the file:
To build KJAR just click Build & Install under Build menu:
After successful build the KJAR artifact(s) should be visible in maven repo: