[ http://jira.codehaus.org/browse/MASSEMBLY-158?page=all ]
John Casey closed MASSEMBLY-158. -------------------------------- Resolution: Fixed I removed the shutdown hook. > tempRoot directory not created, exceptions thrown when filtering files > ---------------------------------------------------------------------- > > Key: MASSEMBLY-158 > URL: http://jira.codehaus.org/browse/MASSEMBLY-158 > Project: Maven 2.x Assembly Plugin > Issue Type: Bug > Affects Versions: 2.2 > Environment: Linux/maven 2.0.4 > Reporter: Daniel Kulp > Assigned To: John Casey > Priority: Blocker > Fix For: 2.2 > > Attachments: assembly_temproot.patch > > > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira