We encountered a problem when we start to use exclusion pattern in maven artifact deploy using Gradle integration (Gradle-Artifactory Integration -> Use Maven compatible patterns -> Exclude patterns). Indeed if we specify an exclusion pattern we are able to avoid to deploy some files generated by the build process. However we noticed that even if the file is not deployed it is still shown as part of the build in Artifactory build info.
Then if we try to promote the build, it fails saying that the exclude artifact is not found. It is indeed not deployed (as wanted) but it looks like it needs it for promotion as it is still present in build info.
Can you look into that please,