Chapter 21. Artifact management
You can manage artifacts from the Artifacts page in Business Central. The artifact repository is a local Maven repository and there is only one Maven repository for each installation. Business Central recommends using Maven repository solutions like Sonatype Nexus™, Apache Archiva™, or JFrog Artifactory™.
The Artifacts page lists all the artifacts in the Maven repository. You can upload artifacts to the Maven repository.
You can only upload JAR, KJAR, and pom.xml
files to the Artifacts repository.
21.1. Viewing an artifact
You can view all the content of the local maven repository from the Artifacts page.
Procedure
- In Business Central, select the Admin icon in the upper-right corner of the screen and select Artifacts.
- Click Open to view the artifact details.
- Click Ok to go back to the Artifacts page.
21.2. Downloading an artifact
You can download and save an artifact from Business Central repository to the local storage of a project.
Procedure
- In Business Central, select the Admin icon in the upper-right corner of the screen and select Artifacts.
- Click Download.
- Browse to the directory where you want to save the artifact.
- Click Save.
21.3. Uploading an artifact
You can upload an artifact from the local storage to a project in Business Central.
Procedure
- In Business Central, select the Admin icon in the upper-right corner of the screen and select Artifacts.
- Click Upload.
- Click Choose File and browse to the directory from where you want to upload the artifact.
Click Upload.
NoteIf you are using a non-Maven artifact, first deploy the artifact to the Maven repository using the
mvn deploy
command and then refresh the artifact list in Business Central.