Default exclude patterns for each repository

Artifactory comes with pre-defined exclude patterns. The default exclude pattern in Artifactory are the following:


“**/*~”,

“**/#*#”,

“**/.#*”,

“**/%*%”,

“**/._*”,

“**/CVS”,

“**/CVS/**”,

“**/.cvsignore”,

“**/SCCS”,

“**/SCCS/**”,

“**/vssver.scc”,

“**/.svn”,

“**/.svn/**”,

“**/.DS_Store”


If your path match this pattern then Artifactory will reject this artifact with 409 error:


Sending HTTP error code 409: The repository ‘ForTest’ rejected the artifact ‘ForTest:.svn/test/test.svn-base’ due to its include/exclude pattern settings.


This can be overriden by adding to the artifactory.system.properties the following parameter:

artifactory.repo.includeExclude.globalExcludes={the exclude pattern that you want by default to be excluded}”. For example to allow the .svn from previous example to be deployed, just add the following to the artifactory.system.properties file:


 

artifactory.repo.includeExclude.globalExcludes= **/*~,**/#*#,**/.#*,**/%*%,**/._*,**/CVS,**/CVS/,**/.cvsignore,**/SCCS,**/SCCS/**,**/vssver.scc,**/.DS_Store

 


This will require a restart of the Artifactory server.