Examples

How to use Include/Exclude patterns?

AuthorFullName__c
Hanan Kemelman
articleNumber
000004995
ft:sourceType
Salesforce
FirstPublishedDate
2021-02-08T16:03:42Z
lastModifiedDate
2023-06-21
VersionNumber
5

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/