Skip to content

Latest commit

 

History

History

Evaluation_Process

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Adding remote Maven server for dependency management

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: BC-1 Then click on pom.xml to edit the file: BC-2

KJAR Build

To build KJAR just click Build & Install under Build menu: BC-3 After successful build the KJAR artifact(s) should be visible in maven repo: BC-4

maven_repo