[
https://issues.apache.org/jira/browse/MNG-7383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17470942#comment-17470942
]
Thorsten Glaser commented on MNG-7383:
--------------------------------------
[~michael-o] reproducer: [https://github.com/tarent/rfc822/tree/MNG-7383]
{{$ mvn -B help:effective-pom | sed -n '/<resources>/,/<\/resources>/p'}}
Compare with doing that on the parent commit ({{{}git checkout HEAD^{}}}). The
output should have been the superset of the two.
I’m kinda bound to the versions Debian ships. If the reproducer works for you,
you can test that much more quickly ☻
> 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
> Priority: Minor
> Fix For: waiting-for-feedback
>
>
> 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)