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

Abel Salgado Romero commented on DOXIA-748:
-------------------------------------------

Thanks, much appreciated! I was able to get something with

{quote}
<moduleExcludes>
    <asciidoc>**/_*.*,**/_*</asciidoc>
</moduleExcludes>
{quote}

I could not make it to ignore folders though. But I think now that I am trying 
to enforce the conventions from the AsciidoctorMojo in the Site module, and 
that's probably not a good idea.
I'll document the differences and suggest the `moduleExcludes`.

Thanks again

> Support file filtering in Doxia ParserModule
> --------------------------------------------
>
>                 Key: DOXIA-748
>                 URL: https://issues.apache.org/jira/browse/DOXIA-748
>             Project: Maven Doxia
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.0.0
>            Reporter: Abel Salgado Romero
>            Priority: Minor
>
> When defining a module one can define the file extensions to process.
> However, more complex scenarios require more than a extension.
> For example, in the [Asciidoctor 
> module|https://github.com/asciidoctor/asciidoctor-maven-plugin/issues] it's 
> possible to have "hidden" (use _ prefix) files that are not to be converted 
> directly, instead these are to be included in others.
> My first though is to be able to pass a `FilenameFilter` in the constructor. 
> The filter would be matched against files that comply with the file 
> extensions to confirm whether these should be processed or not.



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

Reply via email to