[
https://issues.apache.org/jira/browse/JCRVLT-345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16893407#comment-16893407
]
Jörg Hoh commented on JCRVLT-345:
---------------------------------
If we build this into the filevault-package-m-p, these checks can be carried
out only during build. Which is good and required.
But I also see the usecase, that an deployer (which is not necessarily
identical to the developer) needs to validate the very same before actually
deploying an artifact. And in that case this maven plugin cannot be used. In
that case a dedicated plugin would be good, which can be used on both
development/packaging and as quality process before deploying it into an
non-developer environment.
the oakpal-maven-plugin [1] looks promising, although it might not provide all
the features yet.
[1] http://adamcin.net/oakpal/oakpal-maven-plugin/usage.html
> 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
> 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)