Thanks for the info Wayne!

One might think that it would be ignored due to it being within a commented 
region of the xml, but I guess Maven filtering has no relevance to the type of 
file it's filtering?

-----Original Message-----
From: Wayne Fay [mailto:[email protected]] 
Sent: Tuesday, July 24, 2012 3:35 PM
To: Maven Users List
Subject: Re: Filter bug with specified characters in xml comments

> If the following file content is filtered it will not replace the 
> property values with the values in the POM unless the comment line for 
> the "connection.url" is removed:
...
>               <property
> name="connection.url">jdbc:oracle:thin:@test.example.com:1521:TST</pro
> perty>

You are getting tripped up by the @ symbol in your url.

If you don't want to use @...@ as a filter marker token, you need to turn off 
the defaults in the plugin configuration and then specify your own tokens as a 
replacement.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to