java - maven resource filtering not working for lines with @ in it -
I have a strange case where the Maven processing plug-in does not filter the @
lines in both of them
So I have defined this property in pom.xml, then
and one of my resources is in this line
@ (description = (failure = at) (ADDRESS = (host = $ {trial Heuser .servername})
The expression has not been replaced. I tried to remove @
from the line and it works properly. Is it a bug or The escape sequence has a form of
The default delimiter is '@', '@' and '$ {'} , '}' Just use it separately:.
Project & gt; ... & lt; Build & gt; & lt; Plugins & gt; & lt; Plugin & gt; & lt; Group & gt; org.apache.maven Plugins & lt; / group & gt; artifactId & gt; Maven-processing-plugin & lt; / artifactId & gt; & lt; version & gt; 2.7 & lt; / version & gt; & lt; configuration & Gt; ... & lt; delimiter & gt; & lt; delimiter & gt; $ [*] & lt; / delimiter & gt; & lt; / delimiters & gt; ... & lt; / configuration & gt; & Lt; / plugin & gt; & lt; / plugins & gt; ... & lt; / Build & gt; ... & lt; / Project & gt;
Comments
Post a Comment