You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alexandre Bénard (JIRA)" <ji...@codehaus.org> on 2010/12/22 11:48:58 UTC

[jira] Created: (MNG-4949) if "<%@ page import = "java.util.List" %>" is present in a file, filtering does'nt work

if "<%@ page import = "java.util.List" %>" is present in a file, filtering does'nt work
---------------------------------------------------------------------------------------

                 Key: MNG-4949
                 URL: http://jira.codehaus.org/browse/MNG-4949
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: POM
    Affects Versions: 3.0.1, 3.0.2
         Environment: Windows 7
            Reporter: Alexandre Bénard
         Attachments: pom.xml, test.properties

If you have this test.properties file in src/main/resources directory (for example):
   <%@ page import = "java.util.List" %>
   ${project.name}
   ${project.version}

And you add correct filtering information in pom.xml:
        <resource>
        	<directory>src/main/resources</directory>
        	<filtering>true</filtering>
        	<includes>
        		<include>**/*.xml</include>
        		<include>**/*.jsp</include>
        		<include>**/*.properties</include>
        	</includes>
      	</resource>

With "mvn package" command, the build is successful but the file is not filtered.

If you remove the first line (<%@ page import = "java.util.List" %>), there is no problem.

Produce in 3.0.1 and 3.0.2-snapshot (from today) but not in 2.2.1.

-- 
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-133) if "<%@ page import = "java.util.List" %>" is present in a file, filtering does'nt work

Posted by "Alexandre Bénard (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRESOURCES-133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249426#action_249426 ] 

Alexandre Bénard commented on MRESOURCES-133:
---------------------------------------------

Sorry, I missed it.
I add a comment on MRESOURCES-104

> if "<%@ page import = "java.util.List" %>" is present in a file, filtering does'nt work
> ---------------------------------------------------------------------------------------
>
>                 Key: MRESOURCES-133
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-133
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4.3
>         Environment: Windows 7
>            Reporter: Alexandre Bénard
>            Assignee: Benjamin Bentmann
>         Attachments: pom.xml, test.properties
>
>
> If you have this test.properties file in src/main/resources directory (for example):
>    <%@ page import = "java.util.List" %>
>    ${project.name}
>    ${project.version}
> And you add correct filtering information in pom.xml:
>         <resource>
>         	<directory>src/main/resources</directory>
>         	<filtering>true</filtering>
>         	<includes>
>         		<include>**/*.xml</include>
>         		<include>**/*.jsp</include>
>         		<include>**/*.properties</include>
>         	</includes>
>       	</resource>
> With "mvn package" command, the build is successful but the file is not filtered.
> If you remove the first line (<%@ page import = "java.util.List" %>), there is no problem.
> Produce in 3.0.1 and 3.0.2-snapshot (from today) but not in 2.2.1.

-- 
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] Moved: (MRESOURCES-133) if "<%@ page import = "java.util.List" %>" is present in a file, filtering does'nt work

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

Benjamin Bentmann moved MNG-4949 to MRESOURCES-133:
---------------------------------------------------

           Complexity:   (was: Intermediate)
          Component/s:     (was: POM)
    Affects Version/s:     (was: 3.0.2)
                           (was: 3.0.1)
                       2.4.3
                  Key: MRESOURCES-133  (was: MNG-4949)
              Project: Maven 2.x Resources Plugin  (was: Maven 2 & 3)

> if "<%@ page import = "java.util.List" %>" is present in a file, filtering does'nt work
> ---------------------------------------------------------------------------------------
>
>                 Key: MRESOURCES-133
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-133
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4.3
>         Environment: Windows 7
>            Reporter: Alexandre Bénard
>         Attachments: pom.xml, test.properties
>
>
> If you have this test.properties file in src/main/resources directory (for example):
>    <%@ page import = "java.util.List" %>
>    ${project.name}
>    ${project.version}
> And you add correct filtering information in pom.xml:
>         <resource>
>         	<directory>src/main/resources</directory>
>         	<filtering>true</filtering>
>         	<includes>
>         		<include>**/*.xml</include>
>         		<include>**/*.jsp</include>
>         		<include>**/*.properties</include>
>         	</includes>
>       	</resource>
> With "mvn package" command, the build is successful but the file is not filtered.
> If you remove the first line (<%@ page import = "java.util.List" %>), there is no problem.
> Produce in 3.0.1 and 3.0.2-snapshot (from today) but not in 2.2.1.

-- 
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-133) if "<%@ page import = "java.util.List" %>" is present in a file, filtering does'nt work

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

Benjamin Bentmann closed MRESOURCES-133.
----------------------------------------

    Resolution: Duplicate
      Assignee: Benjamin Bentmann

> if "<%@ page import = "java.util.List" %>" is present in a file, filtering does'nt work
> ---------------------------------------------------------------------------------------
>
>                 Key: MRESOURCES-133
>                 URL: http://jira.codehaus.org/browse/MRESOURCES-133
>             Project: Maven 2.x Resources Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4.3
>         Environment: Windows 7
>            Reporter: Alexandre Bénard
>            Assignee: Benjamin Bentmann
>         Attachments: pom.xml, test.properties
>
>
> If you have this test.properties file in src/main/resources directory (for example):
>    <%@ page import = "java.util.List" %>
>    ${project.name}
>    ${project.version}
> And you add correct filtering information in pom.xml:
>         <resource>
>         	<directory>src/main/resources</directory>
>         	<filtering>true</filtering>
>         	<includes>
>         		<include>**/*.xml</include>
>         		<include>**/*.jsp</include>
>         		<include>**/*.properties</include>
>         	</includes>
>       	</resource>
> With "mvn package" command, the build is successful but the file is not filtered.
> If you remove the first line (<%@ page import = "java.util.List" %>), there is no problem.
> Produce in 3.0.1 and 3.0.2-snapshot (from today) but not in 2.2.1.

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