rpm-maven-plugin icon indicating copy to clipboard operation
rpm-maven-plugin copied to clipboard

Unable to escape filtering tokens

Open jakub-bochenski opened this issue 6 years ago • 1 comments

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

				<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)

jakub-bochenski avatar Feb 14 '18 13:02 jakub-bochenski

FYI this might help (haven't tried it myself): https://www.mojohaus.org/rpm-maven-plugin/rpm-mojo.html#escapeString

archiecobbs avatar Sep 26 '23 20:09 archiecobbs