Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-161

DefaultMavenFileFilter.getDefaultFilterWrappers loads filters from the current directory instead of using basedir

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • maven-filtering-1.0-beta-3, maven-filtering-1.0-beta-4
    • maven-filtering-1.2
    • maven-filtering
    • None

    Description

      If a POM is a sub module and has filtered configured other than with the build section (through the configuration part of the WAR plugin for example), then the call to this method will fail if Maven is run from the parent POM because the filters are loaded without any regard to absolute/relative paths and projet basedir.
      Please note that the Maven project is available to these methods but not used for this purpose.

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              jeffmaury Jeff Maury
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: