Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Unable to escape filtering tokens #96

Open
jakub-bochenski opened this issue Feb 14, 2018 · 1 comment
Open

Unable to escape filtering tokens #96

jakub-bochenski opened this issue Feb 14, 2018 · 1 comment

Comments

@jakub-bochenski
Copy link
Contributor

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)

@archiecobbs
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants