Open jakub-bochenski opened 6 years ago
When using <filter>true</filter> mapping option I can't get the escaping to work.
<filter>true</filter>
E.g. a string like \${basedir} is still replaced to \/some/path.
\${basedir}
\/some/path
I've tried configuring an explicit escapeString
<pluginManagement> <plugins> <plugin> <artifactId>maven-resources-plugin</artifactId> <configuration> <escapeString>\</escapeString> </configuration> </plugin> </plugins> </pluginManagement>
as per https://maven.apache.org/plugins/maven-resources-plugin/examples/escape-filtering.html but it doesn't work. (I know it's a different plugin, but I don't see any such option in rpm-plugin)
FYI this might help (haven't tried it myself): https://www.mojohaus.org/rpm-maven-plugin/rpm-mojo.html#escapeString
When using
<filter>true</filter>
mapping option I can't get the escaping to work.E.g. a string like
\${basedir}
is still replaced to\/some/path
.I've tried configuring an explicit escapeString
as per https://maven.apache.org/plugins/maven-resources-plugin/examples/escape-filtering.html but it doesn't work. (I know it's a different plugin, but I don't see any such option in rpm-plugin)