[
https://issues.apache.org/jira/browse/DOXIASITETOOLS-355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17888050#comment-17888050
]
Abel Salgado Romero edited comment on DOXIASITETOOLS-355 at 10/9/24 7:46 PM:
-----------------------------------------------------------------------------
Wow, thaks! It does work and covers all cases. I tried several nested levels
and paths.
Maybe a note could be added to the docs
https://maven.apache.org/plugins/maven-site-plugin/site-mojo.html#moduleexcludes
to clarify how to handle folders. After a couple of failed attempts, I just
assumed the filter did only apply to files.
was (Author: abel s.romero):
It does work and covers all cases. I tried several nested levels and paths.
Maybe a note could be added to the docs
https://maven.apache.org/plugins/maven-site-plugin/site-mojo.html#moduleexcludes
to clarify how to handle folders. After a couple of failed attempts, I just
assumed the filter did only apply to files.
> Support file filtering in Doxia ParserModule
> --------------------------------------------
>
> Key: DOXIASITETOOLS-355
> URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-355
> Project: Maven Doxia Sitetools
> Issue Type: Improvement
> Components: Integration Tools, Site renderer
> Affects Versions: 2.0.0
> Reporter: Abel Salgado Romero
> Assignee: Michael Osipov
> 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)