You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lorand Somogyi (JIRA)" <ji...@codehaus.org> on 2008/03/14 14:53:28 UTC

[jira] Created: (MRESOURCES-58) Filter not working on src/test/resources

Filter not working on src/test/resources
----------------------------------------

                 Key: MRESOURCES-58
                 URL: http://jira.codehaus.org/browse/MRESOURCES-58
             Project: Maven 2.x Resources Plugin
          Issue Type: Bug
    Affects Versions: 2.2
         Environment: OS: Linux (Ubuntu gutsy) 2.6.22-14-generic. 
Maven: 2.0.8
            Reporter: Lorand Somogyi
         Attachments: test.zip

Filter does not work for test-resources. 
I tried:
1. No definition in pom.xml
2. Defining the resource in pom.xml

In the attached really basic case the property comes from pom.xml property, but it does fail for filter file too. And even for default pom.xml variables too...

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

        

[jira] Updated: (MRESOURCES-58) Filter not working on src/test/resources

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRESOURCES-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy updated MRESOURCES-58:
-----------------------------------

         Assignee: Olivier Lamy
    Fix Version/s: 2.3

> Filter not working on src/test/resources
> ----------------------------------------
>
>                 Key: MRESOURCES-58
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-58
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: OS: Linux (Ubuntu gutsy) 2.6.22-14-generic. 
> Maven: 2.0.8
>            Reporter: Lorand Somogyi
>            Assignee: Olivier Lamy
>             Fix For: 2.3
>
>         Attachments: test.zip
>
>
> Filter does not work for test-resources. 
> I tried:
> 1. No definition in pom.xml
> 2. Defining the resource in pom.xml
> In the attached really basic case the property comes from pom.xml property, but it does fail for filter file too. And even for default pom.xml variables too...

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

        

[jira] Commented: (MRESOURCES-58) Filter not working on src/test/resources

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRESOURCES-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=148831#action_148831 ] 

Olivier Lamy commented on MRESOURCES-58:
----------------------------------------

As in your pom there is 
{code:xml}
      <resource>
        <directory>src/test/resources</directory>
        <filtering>true</filtering>
      </resource>
{code}
The filtered result is in in target/classes and a non filtered file is in target/test-classes.

You have to use 
{code:xml}
    <testResources>
      <testResource>
        <directory>src/test/resources</directory>
        <filtering>true</filtering>        
      </testResource>
    </testResources>
{code}

> Filter not working on src/test/resources
> ----------------------------------------
>
>                 Key: MRESOURCES-58
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-58
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: OS: Linux (Ubuntu gutsy) 2.6.22-14-generic. 
> Maven: 2.0.8
>            Reporter: Lorand Somogyi
>            Assignee: Olivier Lamy
>             Fix For: 2.3
>
>         Attachments: test.zip
>
>
> Filter does not work for test-resources. 
> I tried:
> 1. No definition in pom.xml
> 2. Defining the resource in pom.xml
> In the attached really basic case the property comes from pom.xml property, but it does fail for filter file too. And even for default pom.xml variables too...

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

        

[jira] Closed: (MRESOURCES-58) Filter not working on src/test/resources

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRESOURCES-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed MRESOURCES-58.
----------------------------------

       Resolution: Not A Bug
    Fix Version/s:     (was: 2.3)

I don't where is the issue here ?
If you have more details, please reopen the issue.

> Filter not working on src/test/resources
> ----------------------------------------
>
>                 Key: MRESOURCES-58
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-58
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: OS: Linux (Ubuntu gutsy) 2.6.22-14-generic. 
> Maven: 2.0.8
>            Reporter: Lorand Somogyi
>            Assignee: Olivier Lamy
>         Attachments: test.zip
>
>
> Filter does not work for test-resources. 
> I tried:
> 1. No definition in pom.xml
> 2. Defining the resource in pom.xml
> In the attached really basic case the property comes from pom.xml property, but it does fail for filter file too. And even for default pom.xml variables too...

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