[ http://jira.codehaus.org/browse/MASSEMBLY-260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey closed MASSEMBLY-260. -------------------------------- Resolution: Not A Bug Fix Version/s: 2.2-beta-6 Assignee: John Casey the target directory (or more correctly ${project.build.directory}) is a temp workspace for Maven builds. It is cleaned up by the maven-clean-plugin. It's not considered harmful for that directory to be polluted after a build runs. > Empty archive-tmp appears in target folder after assembly created. > ------------------------------------------------------------------ > > Key: MASSEMBLY-260 > URL: http://jira.codehaus.org/browse/MASSEMBLY-260 > Project: Maven 2.x Assembly Plugin > Issue Type: Bug > Environment: I'm using Maven 2.0.7, and maven-assembly-plugin version > 2.2-beta-1. > Reporter: Matthew Tordoff > Assignee: John Casey > Fix For: 2.2-beta-6 > > > I have created a custom assembly which packages up 3 directories within my > projects root directory as a zip file. This file can be seen as follows: > <assembly> > <id>My Format</id> > <formats> > <format>zip</format> > </formats> > <fileSets> > <fileSet> > <directory>${basedir}\folderA</directory> > <outputDirectory>\folderA</outputDirectory> > <includes> > <include>**\**</include> > </includes> > </fileSet> > <fileSet> > <directory>${basedir}\folderB</directory> > <outputDirectory>\folderB</outputDirectory> > <includes> > <include>**\**</include> > </includes> > </fileSet> > <fileSet> > <directory>${basedir}\folderC</directory> > <outputDirectory>\folderC</outputDirectory> > <includes> > <include>**\**</include> > </includes> > </fileSet> > </fileSets> > </assembly> > My POM.xml is packaging type 'pom', and in my base directory I have the > following file structure: > basedir --> pom.xml > --> my_package_format.xml > --> folderA > --> folderB > --> folderC > Note: I do not have the src directory. I am using this module purely to > package up DB files to be distributed as a ZIP. > I have appropriately connected the plugin to the build cycle, however, after > I perform "mvn package" I am left with 2 things - 1) The correctly produced > ZIP file and 2) an erroneous empty directory "archive-tmp". I am assuming > that this folder is normally created to be populated by the appropriate > contents of the src folder and subsequently packaged in some manner, however, > since I dont have a src directory it is never getting deleted. > Any more information required then please let me know. > Matt -- 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