Chapter 3. Managing artifacts
You can manage artifacts from the Artifacts page in Decision Central. The artifact repository is a local Maven repository and there is only one Maven repository for each installation. Decision 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 also upload a new artifact to the Maven repository using the Upload button.
Only *.jar, *.kjar, or pom.xml files can be uploaded to the Artifacts repository.
3.1. Viewing an artifact Copy linkLink copied to clipboard!
You can view all the content of the local maven repository from the Artifacts page.
Procedure
- Log in to Decision Central.
-
Select Admin
Artifacts. - Click Open to view the artifact details.
- Click Ok to go back to the Artifacts page.
3.2. Downloading an artifact Copy linkLink copied to clipboard!
You can download and save an artifact from Decision Central’s repository to a project’s local storage.
Procedure
- Log in to Decision Central.
-
Select Admin
Artifacts. - Click Download.
- Browse to the directory where you want to save the artifact and click Save.
3.3. Uploading an artifact Copy linkLink copied to clipboard!
You can upload an artifact from the local storage to a project in Decision Central.
Procedure
- Log in to Decision Central.
-
Select Admin
Artifacts. - Click Upload.
- Click Choose File and browse to the directory from where you want to upload the artifact.
Click Upload.
NoteIn case you are using a non-maven artifact, first deploy the artifact to the maven repository using
mvn deploycommand and then refresh the artifact list in Decision Central.