The Include/Exclude patterns are set in the repository’s Basic Configuration.
Below you will find an example for two popular packages, NPM, and Maven. With that in mind, the process is similar for other packages and mostly relies on the package layout.
NPM:
“.npm/@my/**” Blocking the scope @my from remote resolution.
“.npm/my-*/**” Blocking packages with a my prefix from remote resolution.
“.npm/secret/**” Blocking the package secret from remote resolution.
Maven:
“com/acme/exp-project/**” Blocking remote resolution of artifacts under com/acme/exp-project/