You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Oleg Estekhin <ol...@gmail.com> on 2012/01/24 13:40:44 UTC

disable @@ filtering in the Maven Resources Plugin/Maven Filtering

Hi

I have a set of resource files that contain some name=key properties, and a 
lot of names have the format of "object@attribute".

Now I have to filter them during the build, but '@' characters mess with the 
filtering, for example a line like "object@attribute = ${project.version}" 
will not be filtered at all.

Is it possible to disable filtering based on the @@ and use only the ${} 
variant? 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: disable @@ filtering in the Maven Resources Plugin/Maven Filtering

Posted by Oleg Estekhin <ol...@gmail.com>.
Thank you =) The goal doc is the only place where I forgot to look while 
searching through the resources plugin docs and maven filtering docs.

-----Исходное сообщение----- 
From: Olivier Lamy
Sent: Tuesday, January 24, 2012 4:44 PM
To: Maven Users List
Subject: Re: disable @@ filtering in the Maven Resources Plugin/Maven 
Filtering

Hello,
See 
http://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html

There are two fields to help you:
* delimiters
* useDefaultDelimiters

HTH
-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

2012/1/24 Oleg Estekhin <ol...@gmail.com>:
> Hi
>
> I have a set of resource files that contain some name=key properties, and 
> a
> lot of names have the format of "object@attribute".
>
> Now I have to filter them during the build, but '@' characters mess with 
> the
> filtering, for example a line like "object@attribute = ${project.version}"
> will not be filtered at all.
>
> Is it possible to disable filtering based on the @@ and use only the ${}
> variant?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: disable @@ filtering in the Maven Resources Plugin/Maven Filtering

Posted by Olivier Lamy <ol...@apache.org>.
Hello,
See http://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html

There are two fields to help you:
* delimiters
* useDefaultDelimiters

HTH
-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

2012/1/24 Oleg Estekhin <ol...@gmail.com>:
> Hi
>
> I have a set of resource files that contain some name=key properties, and a
> lot of names have the format of "object@attribute".
>
> Now I have to filter them during the build, but '@' characters mess with the
> filtering, for example a line like "object@attribute = ${project.version}"
> will not be filtered at all.
>
> Is it possible to disable filtering based on the @@ and use only the ${}
> variant?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org