Roy Teeuwen created JCRVLT-711:
----------------------------------

             Summary: Add validation to ban specific packages to be added as 
subpackage
                 Key: JCRVLT-711
                 URL: https://issues.apache.org/jira/browse/JCRVLT-711
             Project: Jackrabbit FileVault
          Issue Type: Improvement
            Reporter: Roy Teeuwen


When having following reactor module:

- all
- core
- ui.apps
- ui.content
- it.content

I only want the it.content to be installed to specific environments, namely 
local and an automated builds environment. To do this, the it.content is 
defined in the embedded section of the filevault plugin, but I check if an 
environment variable is available and profile-wise add the it.content 
dependency. The setting failOnMissingEmbed is set to 'false'.

I now had the case that another submodule created a dependency on it.content, 
making it.content available as dependency to the 'all' package and installed on 
the wrong environment. 
To fix this, I'd like to see if I can add a FileVault validation rule to the 
'all' package to ban a specific subpackage to exist based on group and name



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to