You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/10/21 23:03:19 UTC

[jira] Commented: (MNG-1995) filtering element in pom.xml ignore properties

    [ http://jira.codehaus.org/browse/MNG-1995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=151537#action_151537 ] 

Benjamin Bentmann commented on MNG-1995:
----------------------------------------

The corresponding it0091 is passing for me on trunk, so this seems to be resolved and could be closed by the responsible committer ;-)

> filtering element in pom.xml ignore properties
> ----------------------------------------------
>
>                 Key: MNG-1995
>                 URL: http://jira.codehaus.org/browse/MNG-1995
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>         Environment: Maven 2.0.1
>            Reporter: Daniel Kulp
>             Fix For: 3.0
>
>
> <jvanzyl> you can mention it0091 as the test case
> The following pom.xml does not end up filtering the resources:
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
>  
>      <modelVersion>4.0.0</modelVersion>
>     <groupId>org.objectweb.celtix</groupId>
>     <artifactId>test</artifactId>
>     <packaging>jar</packaging>
>     <version>1.0</version>
>     <name>Test</name>
>  
>     <properties>
>         <filter.resources>true</filter.resources>
>     </properties>
>  
>     <build>
>         <resources>
>             <resource>
>                 <directory>src/main/resources</directory>
>                 <includes>
>                     <include>**</include>
>                 </includes>
>                 <filtering>${filter.resources}</filtering>
>             </resource>
>         </resources>
>     </build>
> </project>

-- 
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