Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
2.2
-
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.