[ 
https://issues.apache.org/jira/browse/JCRVLT-495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17277841#comment-17277841
 ] 

Vlad Bailescu commented on JCRVLT-495:
--------------------------------------

Globbing is a core concept of Ant filtering 
(http://ant.apache.org/manual/Types/fileset.html), Maven builds on top of that 
and there are other plugins that use this (Rat for example: 
http://creadur.apache.org/rat/apache-rat-plugin/check-mojo.html#excludes). 
Since the FileVault plugin is mostly modelled after the Resources plugin 
(https://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html#nonFilteredFileExtensions),
 the {{filteredFileExtension}} is probably more inline with that so +1 from me.

> Allow to exclude binaries without extension from filtering 
> -----------------------------------------------------------
>
>                 Key: JCRVLT-495
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-495
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: package maven plugin
>    Affects Versions: package-maven-plugin-1.1.6
>            Reporter: Konrad Windszus
>            Priority: Minor
>             Fix For: package-maven-plugin-1.1.8
>
>
> In case of simple file aggregates 
> (http://jackrabbit.apache.org/filevault/vaultfs.html#Simple_File_aggregates) 
> or extended ones the binary has a filename which is equal to the parent node 
> name (with type {{nt:file}}). As the node name does not necessarily include a 
> dot (e.g. in 
> https://github.com/adobe/aem-core-wcm-components/blob/master/examples/ui.content/src/content/jcr_root/content/core-components-examples/_jcr_content/image/file)
>  but the file still is a binary which cannot be filtered by Maven, such nodes 
> must be excluded.
> Unfortunately leveraging the parameter {{<nonFilteredFileExtensions>}} does 
> not work, as Maven does not support empty string entries in Lists.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to