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

Allow "outdatedCheckPath" parameter to be set to cover web app dir root (everything in the web app directory)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3.1
    • 3.3.2
    • None
    • None

    Description

      I would like to subject something copied to the WAR root, e.g. a JSP to the same "outdated" check for goals like war:exploded . 

      I don't see a way to do that currently.   An empty String or absent config value triggers the default of WEB-INF/lib/

      I'm not too familiar with mojo File-typed parameters.   Is there a construct or pattern that lets you use either a relative or absolute path like you can with the webappDirectory, warSourceDirectory parameters, but relative to the webappDirectory rather than basedir?

      E.g. for warSourceDirectory I can specify:  src/main/webapp  or an absolute path.  If I could do something like that for outdatedCheckPath today that would meet my needs.    But maybe this parameter resolution only works conveniently relative to the basedir? 

       

      If this parameter must remain a "prefix" or path relative to the webappDirectory, maybe it just needs a special syntax like  '.'  or '*' to cover everything.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              scottkurz Scott Kurz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: