Maven Artifact Override Feature
Problem to solve
Override a existing Maven Artifact without publishing a new one to a GitLab instance.
Intended users
Software Developer.
Further details
By having the feature it will make it possible to override Maven Artifacts, which is essential for testing development versions of a library without having to upload new versions.
Permissions and Security
A new permission will need to be added to GitLab for overriding published Maven Artifacts.
Availability & Testing
Using Gradle as the build system (utilising the Kotlin DSL) run the publish task on a project where a existing Maven Artifact with the same Artifact Name, Group, and Version exist on the GitLab instance. After publishing has been successfully done do the following:
- Open a web browser
- Log into a GitLab instance
- Navigate to the project's Packages section
- Select the Maven Artifact
- Examine the Updated at field (in the Package information section) and see if the Artifact has been updated (overridden)
Edited by Nick Apperley