Uploaded image for project: 'Maven WAR Plugin'
  1. Maven WAR Plugin
  2. MWAR-123

filtering with @ is working randomly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1-alpha-1
    • 2.1-alpha-1
    • None
    • None

    Description

      Attached patch adding testing for filtering using @...@ (in parallel with filtering using ${..}) tokens.
      However, if you'll change

      1. this is comment created by author at somewhere
        to
      2. this is comment created by author@somewhere"
        then test case will fall.
        As far as I know this problem has a root in plexus utils but this is very important for filtering jsp files (and so - for maven-war-plugin) because @ character has a special meaning in jsp.
        So adding a directive like <%@ page import="package" %> will effectively 'disable' filtering.

      Attachments

        1. filters.patch
          8 kB
          Tomasz Pik

        Activity

          People

            olamy Olivier Lamy
            pikus Tomasz Pik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: