I'm not an expert of the maven-resources-plugin but I think that its escaping 
mechanism is to use into resource files and not in the POM file.


_______________________________________________________________________________

Christophe DENEUX / Capgemini Sud / Méditerranée
Integration Architect / OW2 PEtALS Commiter
Tel: + 33 4 93 95 55 92 / www.capgemini.com
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice / FRANCE
Join the Collaborative Business Experience
_______________________________________________________________________________

Please consider the environment and do not print this email unless absolutely
necessary. Capgemini encourages environmental awareness. 
-----Message d'origine-----
De : Kalle Korhonen [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 20 octobre 2008 19:01
À : Maven Users List
Objet : Re: Using ${} notation as a literal

On Mon, Oct 20, 2008 at 9:42 AM, Deneux, Christophe < [EMAIL PROTECTED]> wrote:

> No escaping mechanism exists. See 
> http://jira.codehaus.org/browse/MNG-3558
>

Does the escaping mechanism in the new resource plugin work for this as well?
"New features :
- New mojo to copy resources [1]
- escape mechanism for property interpolation [2]
-  configuring file extension to not filtering [3]"
http://maven.apache.org/plugins/maven-resources-plugin/examples/escape-filtering.html

This has been working for any velocity templates: ${dollarSign}{value}.

Kalle



>
> ______________________________________________________________________
> ________
>
> Christophe DENEUX / Capgemini Sud / Méditerranée Integration Architect 
> / OW2 PEtALS Commiter
> Tel: + 33 - -- -- -- -- / www.capgemini.com Porte de l'Arénas - Entrée 
> B / 455 Promenade des Anglais / 06200 Nice / FRANCE Join the 
> Collaborative Business Experience
>
> ______________________________________________________________________
> _________
>
> Please consider the environment and do not print this email unless 
> absolutely necessary. Capgemini encourages environmental awareness.
> -----Message d'origine-----
> De : Okken,Brett [mailto:[EMAIL PROTECTED] Envoyé : vendredi 17 
> octobre 2008 17:02 À : [email protected] Objet : Using ${} 
> notation as a literal
>
>
> In my pom, I need to pass a configuration value to a plugin which 
> contains "${...}" as part of the string. Is there a way to prevent 
> maven from filtering this string? Currently the value passed to the 
> plugin replaces the "${...}" wil "null".
>
> Brett Okken | MMF Archive | Software Architect | 816.201.6112 | 
> www.cerner.com | [EMAIL PROTECTED]
>
> ----------------------------------------------------------------------
> CONFIDENTIALITY NOTICE This message and any included attachments are 
> from Cerner Corporation and are intended only for the addressee. The 
> information contained in this message is confidential and may 
> constitute inside or non-public information under international, 
> federal, or state securities laws. Unauthorized forwarding, printing, 
> copying, distribution, or use of such information is strictly 
> prohibited and may be unlawful. If you are not the addressee, please 
> promptly delete this message and notify the sender of the delivery 
> error by e-mail or you may call Cerner's corporate offices in Kansas City, 
> Missouri, U.S.A at (+1) (816)221-1024.
>
>
>
>
>
>
> This message contains information that may be privileged or 
> confidential and is the property of the Capgemini Group. It is 
> intended only for the person to whom it is addressed. If you are not 
> the intended recipient, you are not authorized to read, print, retain, 
> copy, disseminate, distribute, or use this message or any part 
> thereof. If you receive this message in error, please notify the 
> sender immediately and delete all copies of this message.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>






This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not the 
intended recipient, you are not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any 
part thereof. If you receive this message 
in error, please notify the sender immediately and delete all copies of this 
message.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to