Here are the steps to filter the resource properties in the example:
1. Define the my.filter.value property in a filter file (e.g. src/main/filters/filter.properties):
my.filter.value=hello
2. Define the command.line.prop property in the pom.xml:
<properties>
<command.line.prop>hello</command.line.prop>
</properties>
3. The settings.offline property will be filtered from the <offline>true</offline> value defined in settings.xml
4. Add filtering configuration to the pom.xml:
<build>
<filters>
<filter>src