Skip to content

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

@jira-importer

Description

@jira-importer

Alexandre Bénard opened MRESOURCES-133 and commented

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.


Affects: 2.4.3

Attachments:

Issue Links:

  • MRESOURCES-104 while filtering resources the token replacement stops at the character @
    ("duplicates")

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions