You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "François Wauquier (JIRA)" <ji...@codehaus.org> on 2009/10/14 15:08:27 UTC

[jira] Commented: (MSHARED-46) Create a common component for files filtering

    [ http://jira.codehaus.org/browse/MSHARED-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=194697#action_194697 ] 

François Wauquier commented on MSHARED-46:
------------------------------------------

Have found this wiki page that explain the (new ?) filtering rules:
http://docs.codehaus.org/display/MAVEN/Resources+Handling+(common+component+maven-filtering)

which is different than official documentation:
http://maven.apache.org/shared/maven-filtering/

I have understand that:
@..@ are replaced based on filters property file
${...} are replaced based on maven variable/property

In my case, i do filtering in ant xml files with the assembly plugin, and the variables/properties int an ant file are are marked with ${}, but i want to distinguish the maven filtering variable/property from the ant variable/property.

I wanted to use @..@ in my ant xml files, but that does'nt work anymore.(only variable from the filer property file are used)

So I share the first feature envy of Barned Garvelink., I would like to have the possibilty to configure the tokens.

I use
Maven 2.1.0
assembly 2.2-beta-3

> Create a common component for files filtering
> ---------------------------------------------
>
>                 Key: MSHARED-46
>                 URL: http://jira.codehaus.org/browse/MSHARED-46
>             Project: Maven Shared Components
>          Issue Type: Improvement
>          Components: maven-filtering
>            Reporter: Olivier Lamy
>            Assignee: Olivier Lamy
>             Fix For: maven-filtering-1.0-beta-1
>
>
> Currently we have some duplicated code in some plugins for filtering.
> This means some plugins use a different logic.
> This component will a common filtering logic for all plugins.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira