Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants