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

calls to DirectoryScanner.setBasedir(String) fail in embedded environment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.2
    • 2.3
    • None
    • None
    • maven embedded (2.1-SNAPSHOT) in mevenide/netbeans 2.2

    Description

      when the user declares a resource with relative path, eg. "src/myresources2", then the build fails to process the resource correctly. I've traced that back to the DirectoryScanner.setBasedir(String) method which will not construct a path relative to the pom file, but to the directory where the IDE was started.

      Attachments

        1. resource-directory.patch
          1 kB
          Benjamin Bentmann

        Issue Links

          Activity

            People

              mkleint Milos Kleint
              mkleint Milos Kleint
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: