How to mark all files that start with a certain pattern as proprietary?

This article is about the Proprietary Component Configuration feature of Nexus IQ Server.

 

Problem:  

You want to mark all files that start with “ABC” as proprietary, but you don’t want to have paths with directories in them that start with “ABC” marked a proprietary.

 

Solution:

You can use the following regular expression in a proprietary component matcher:

^.+/ABC[^/]+$

This can be extended to cover multiple matches with:

^.+/(ABC|XYZ)[^/]+$
Have more questions? Submit a request

0 Comments

Article is closed for comments.