[
https://issues.apache.org/jira/browse/JCRVLT-345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16895085#comment-16895085
]
Konrad Windszus commented on JCRVLT-345:
----------------------------------------
For me there is a fundamental difference between oakpal and the already
existing validators within f-p-m-p. The latter is a static analysis while
oakpal requires a (lightweight) repository to do an actual installation. That
obviously takes a lot more time. For me both approaches are valid, but some
validations should happen as soon/as quick as possible (in the best case even
with m2e incremental build support). I am talking only about static validations
in the context of this issue. I am thinking about leveraging JSR330 annotations
(with the built-in Sisu/Guice Container in Maven3) to allow to dynamically bind
validators.
> Support pluggable node/file/filter validators
> ---------------------------------------------
>
> Key: JCRVLT-345
> URL: https://issues.apache.org/jira/browse/JCRVLT-345
> Project: Jackrabbit FileVault
> Issue Type: New Feature
> Components: package maven plugin
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
>
> IMHO it would be good to support pluggable node, file and filter.xml
> validators for custom validations:
> The filevault-package-m-p should ship/ships with these ones out of the box
> # check for index definition nodes
> # check for bundles, OSGi configuration and subpackages (in the context of
> JCRVLT-249)
> # check for adherence to the FileVault DocView for .content.xml files
> # check for filter.xml coverage of all nodes/files
> The following ones are just ideas for custom validations:
> # check for usage of deprecated resource types
> # check for content classification
> (https://helpx.adobe.com/experience-manager/6-5/sites/deploying/using/sustainable-upgrades.html)
> An SPI should be defined and allow everyone to come up with validator
> extensions which are automatically executed during the {{package}} goal on
> all files/nodes being included in the package
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)