I have a multi-module project similar to this:
parent | +-- childA | +-- src/main/resources/application.properties | +-- childB +-- src/main/resources/application.properties +-- src/main/filters/filter.properties
I am filtering application.properties both childA and childB using filter.properties in childB.
I followed this strategy to attach the filter file to the childB artifact, and then unzip it to the childA target:
childA/target/filters/filter.properties
childA has resource filtering as follows:
<build> <filters> <filter>target/filters/filter.properties</filter> </filters> </build>
Eclipse puts the error in childA/pom.xml :
Error loading properties file 'Parent \ childΓ’ \ 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 create the application, so it does not concern me here.
How can I update pom.xml childA to permanently ignore this error?
java eclipse maven maven-3 maven-resources-plugin
Zack teater
source share