I have a multi-module project like this:
parent
|
+-- childA
| +-- src/main/resources/application.properties
|
+-- childB
+-- src/main/resources/application.properties
+-- src/main/filters/filter.properties
I am filtering the application.properties
in both childA and childB using the filter.properties
in childB.
I followed this strategy to attach the filter file to childB's artifact and then unpack it on childA's target:
childA/target/filters/filter.properties
childA has resource filtering like this:
<build>
<filters>
<filter>target/filters/filter.properties</filter>
</filters>
</build>
Eclipse is flagging an error on childA/pom.xml
:
Error loading property file 'parent\childA\target\filters\filter.properties' (org.apache.maven.plugins:maven-resources-plugin:3.0.2:copy-resources:default-resources:process-resources)
The filter file is available when I build the app, so I'm not concerned there.
How can I update the pom.xml of childA to permanently ignore this error?
The issue went away after upgrading from Eclipse Luna to Neon.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With