You can escape filtering with configurable String.
This means expression ${ } and @ @ preceded will replace by the expression : \${java.home} -> ${java.home}.
The escapeString will be removed
<project> ... <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>4.0.0-beta-1</version> <configuration> ... <escapeString>\</escapeString> ... </configuration> </plugin> </plugins> ... </build> ... </project>