Book - Maven: The Complete Reference
  1. Book - Maven: The Complete Reference
  2. MVNREF-53

Develop Section about Resource Filtering, Add More Detail about includes/excludes

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Global Rank:
      15904

      Description

      The Resource Filtering sections do not delve into the details of includes and excludes. Add more detail around these options in the resource filtering chapters.

        Activity

        Hide
        Matt Gumbley added a comment -

        Something that's covered in http://maven.apache.org/guides/getting-started/index.html (How do I filter resource files), but might be worth repeating here (since it's a definitive guide!):

        If you explicitly declare the filtering state for any resources, make sure you explicitly declare all your resources including the standard ones (even if you're not filtering them) - so, if you have several additional resource directories declared, with some filtered, but with src/main/resources not filtered, you still need to declare src/main/resources. Declaring any resources removes the 'automatic default' of src/main/resources.

        Show
        Matt Gumbley added a comment - Something that's covered in http://maven.apache.org/guides/getting-started/index.html (How do I filter resource files), but might be worth repeating here (since it's a definitive guide!): If you explicitly declare the filtering state for any resources, make sure you explicitly declare all your resources including the standard ones (even if you're not filtering them) - so, if you have several additional resource directories declared, with some filtered, but with src/main/resources not filtered, you still need to declare src/main/resources. Declaring any resources removes the 'automatic default' of src/main/resources.

          People

          • Assignee:
            Unassigned
            Reporter:
            Matt Gumbley
            Last Updated By:
            Manfred Moser
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: