To configure a procurement rule, right click on a folder in the tree. Figure 9.11, “Denying Procurement for Everything Under a Group” displays the procurement interface after right clicking on the jython artifact folder. In this dialog, we are telling the procurement interface to deny everything in the jython group and its sub-groups. If you attempt to retrieve any version under the jython artifact after this rule is created, the Procurement Suite will prevent access to this artifact. For example, if you attempt to build a project that depends on jython:jython:2.1, it will not be made available via the Secured repository created in Section 9.5, “Setting up a Procured Repository”.
After denying access to the entire jython artifact, right-click on the 2.1 version folder under the jython artifact folder. Select "Exactly the artifact" as shown in Figure 9.12, “Allowing Access to a Single Artifact in a Denied Group” to allow for the procurement of only the 2.1 version. This has the effect of creating a specific rule which allows the procurement of a single version of the jython:jython artifact.
After allowing this element, your procurement tree is going to contain red and green markers on the affected folders as shown in Figure 9.13, “Viewing the Effect of Composite Procurement Rules on the Tree”. While the jython artifact folder has a red slash through it the 2.1 version folder has a green check. You have configured the Procurement Suite to deny access to all versions of the jython artifact except version 2.1.