You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Thorsten Glaser (Jira)" <ji...@apache.org> on 2022/01/07 22:29:00 UTC

[jira] [Created] (MNG-7383) Cannot combine project.build.resources

Thorsten Glaser created MNG-7383:
------------------------------------

             Summary: Cannot combine project.build.resources
                 Key: MNG-7383
                 URL: https://issues.apache.org/jira/browse/MNG-7383
             Project: Maven
          Issue Type: Bug
          Components: POM
    Affects Versions: 3.6.3
            Reporter: Thorsten Glaser


I’m trying to add resources to a project but preserve the resources that the parent POM adds. This fails, though:
{quote}{{<build>}}
{{        <resources combine.self="merge" combine.children="append">}}
{{                <resource>}}
{{                        <directory>${project.basedir}</directory>}}
{{                        <includes>}}
{{                                <include>README</include>}}
{{                        </includes>}}
{{                        <filtering>false</filtering>}}
{{                </resource>}}
{{        </resources>}}
{quote}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)