1 answer

You can configure such things on the repository itself, on the changesets:

It's sort of a negative of a negative, but I'd think that a regex like '(?!.*deploy-qa).*' might work in your case.

Just to keep in mind, if that's a non-snapshot version for maven/gradle, make sure to _never_ install it on the local repo (mvn clean install or such) if it's already deployed to remote repository (nexus or artifactory), because it's going to poison your maven local repo with a different version of an immutable artefact.