[
https://issues.apache.org/jira/browse/DOXIA-748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17887582#comment-17887582
]
Michael Osipov commented on DOXIA-748:
--------------------------------------
I think we have this already here:
https://github.com/apache/maven-doxia-sitetools/blob/cd77672ba79e1ee42f16258706fc6a43c898b842/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java#L164-L177
You can define your excludes and solve your problem. See:
https://maven.apache.org/plugins/maven-site-plugin/site-mojo.html#moduleExcludes
> 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)