Uploaded image for project: 'Maven Resources Plugin'
  1. Maven Resources Plugin
  2. MRESOURCES-52

Change type of plugin parameter "outputDirectory" to java.io.File

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.3
    • None
    • None
    • Patch

    Description

      As described by MNG-3273, using java.lang.String for path parameters is discouraged as it usually leads to relative paths being resolved against the current working directory instead of the project's base directory. This bug manifest itselfs when a user explicitly configures the maven-resources-plugin with a relative output directory and then runs the build from a different working directory (for example, the base directory of an aggregator parent).

      Attachments

        1. output-directory.patch
          9 kB
          Benjamin Bentmann
        2. resources.zip
          0.7 kB
          Benjamin Bentmann

        Issue Links

          Activity

            People

              mkleint Milos Kleint
              bentmann Benjamin Bentmann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: