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

webResource filtering needs filter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.2
    • None
    • None

    Description

      Filtering of webResources works only, if there's at least one <filter>path/to/properties</filter> defined in pom.
      So without such a configuration there's no possiblity to build war file with filtering using values specified during build invocation, with -D options (System properties are ignored).
      Adding reference to (even empty) file using <filter> element 'solves' the problem and properties defined using -D are used.

      Attachments

        1. MWAR-67-maven-war-plugin-2.patch
          5 kB
          franz allan valencia see
        2. MWAR-67-maven-war-plugin.patch
          0.7 kB
          franz allan valencia see

        Activity

          People

            brett Brett Porter
            pikus Tomasz Pik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: