Homec4science

Work around project.build.resources being overridden

Authored by Johannes Schindelin <johannes.schindelin@gmx.de> on Jul 7 2013, 18:56.

Description

Work around project.build.resources being overridden

When specifying a project.build.resources section in a child pom.xml,
the parent's resources section is overridden -- not appended to, as this
developer expected. Therefore, we have to specify src/main/resources
explicitly if we want to keep it as a place to put resources into.

To be careful, we prefix it by ${basedir}/ just to make sure that we can
simply copy this code to aggregate projects whenever needed without
breaking things.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>

Details

Committed
Johannes Schindelin <johannes.schindelin@gmx.de>Jul 7 2013, 18:56
Pushed
oburriMay 30 2017, 14:17
Parents
R3829:df9367351ef4: Use properties for source inclusion
Branches
Unknown
Tags
Unknown

Event Timeline

Johannes Schindelin <johannes.schindelin@gmx.de> committed R3829:06655b85992b: Work around project.build.resources being overridden (authored by Johannes Schindelin <johannes.schindelin@gmx.de>).Jul 7 2013, 18:56