You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2025/02/12 09:38:00 UTC

[jira] [Created] (DOXIASITETOOLS-359) Optionally allow files in one source overwrite files from another

Konrad Windszus created DOXIASITETOOLS-359:
----------------------------------------------

             Summary: Optionally allow files in one source overwrite files from another
                 Key: DOXIASITETOOLS-359
                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-359
             Project: Maven Doxia Sitetools
          Issue Type: Improvement
            Reporter: Konrad Windszus


The SiteRenderingContext may have more than one site directory. However in case of file name clashes among the given site directories the rendering always leads to an exception in https://github.com/apache/maven-doxia-sitetools/blob/9af3a745919525481e96bb4f0c18d62cf41446b4/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java#L235-L266.

As the sources have a predictable order (https://github.com/apache/maven-doxia-sitetools/blob/9af3a745919525481e96bb4f0c18d62cf41446b4/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/SiteRenderingContext.java#L85) it would be nice to be able to add a source directory with a lower priority (i.e. clashing files are just silently skipped).



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