Uploaded image for project: 'Module Maven Archetype'
  1. Module Maven Archetype
  2. EMMA-5

Disable default filtering of src/main/webapp in module archetype and mavenization scripts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Complexity:
      Low

      Description

      Both of these produce a POM for the OMOD project containing the following XML:

      This is what we currently have in the OMOD POM...

      <resource>
      <directory>src/main/webapp</directory>
      <filtering>true</filtering>
      <excludes>
      <exclude>resources</exclude>
      </excludes>
      <targetPath>web/module</targetPath>
      </resource>

      This results in any occurrences of ${id} or ${name} in the module's JSPs being replaced by POM properties. Filtering of webapp should default to false as developers won't expect it. This needs to be updated in both:

      1. The basic-module archetype used by the module-wizard
      2. The module mavenization scripts

        Attachments

          Activity

            People

            Assignee:
            raff Rafal Korytkowski
            Reporter:
            rowanseymour Rowan Seymour
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: