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

Add resource filtering to war plugin

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0
    • None
    • None

    Description

      I'd like to patch the war plugin to perform resource filtering as per the resources plugin. This is a trivial patch but would duplicate the following code from the resources plugin:

      PropertyUtils
      ReflectionProperties
      ResourcesMojo.copyFile(File, File)

      These look like handy util methods that could be incorporated into plexus-utils - what do the developers think?

      Also not sure how resource filtering will be affected by MNG-788.

      Attachments

        1. test.zip
          2 kB
          Mark Hobson
        2. MWAR-12.patch
          13 kB
          Brian Topping
        3. ResourcesMojo.patch
          0.8 kB
          Scott Tavares
        4. AbstractWarMojo.patch
          1 kB
          Scott Tavares
        5. MWAR-12-maven-war-plugin.patch
          19 kB
          Ernesto S. Tolentino Jr.

        Issue Links

          Activity

            People

              jtolentino Ernesto S. Tolentino Jr.
              markh Mark Hobson
              Votes:
              22 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0.25h Original Estimate - 0.25h
                  0.25h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 12h
                  12h