Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-158

tempRoot directory not created, exceptions thrown when filtering files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.2
    • 2.2-beta-1
    • None
    • None
    • Linux/maven 2.0.4

    Description

      The tempRoot directory isn't actually created before it attempts to write files into it. Thus, creation of the files fails with FileNotFound exceptions.

      The patch forces the directory to be created at the start of execute() and clears it up at the end. It also updates the org/apache/maven/plugin/assembly/format/FileFormatter.java to make sure the directory is created first.

      Attachments

        1. assembly_temproot.patch
          3 kB
          Daniel Kulp

        Activity

          People

            jdcasey John Dennis Casey
            dkulp Daniel Kulp
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: