Commit 06655b85 authored by Johannes Schindelin's avatar Johannes Schindelin

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: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
parent df936735
......@@ -28,11 +28,17 @@
<build>
<resources>
<resource>
<directory>${basedir}/src/main/resources</directory>
</resource>
<resource>
<directory>${project.build.sourceDirectory}</directory>
</resource>
</resources>
<testResources>
<testResource>
<directory>${basedir}/src/test/resources</directory>
</testResource>
<testResource>
<directory>${project.build.testSourceDirectory}</directory>
</testResource>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment