I am currently trying to strategize the best way to store feature branches in Artifactory and use the feature branch SNAPSHOT builds in a dev environment. The feature branches are of the form: feature/X.X-Feature-DTBXXXXX-SNAPSHOT
So far I have created a separate repo in Artifactory and pointed the target release repo in Jenkins to deploy artifacts to that repo on building. This works fine except that because Maven looks for the qualifier SNAPSHOT in the branch name, it gets uploaded to the snapshot repo on Artifactory instead of the Feature repo.
The problem with this approach is that I am risking pollution of branches that are in the SNAPSHOT repo by uploading feature branches there.
I need to upload a feature branch to a Feature repo with names of the type feature/X-X-Feature-DTBXXXXX-SNAPSHOT and not to the SNAPSHOT repo.
Any help or pointers would be great.