You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2024/10/08 07:19:00 UTC

[jira] [Commented] (DOXIA-748) Support file filtering in Doxia ParserModule

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

Michael Osipov commented on DOXIA-748:
--------------------------------------

Yeah, those underscore files are very nice. We need to extend the API, pity that you did not report before GA.

> 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)