maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: assembly plugin does not create directory in archive if more than one fileset provides content to it.
Date Thu, 10 Oct 2013 10:35:34 GMT
  


> Date: Wed, 9 Oct 2013 19:53:58 -0500
> From: stevecoh1@comcast.net
> To: users@maven.apache.org
> Subject: assembly plugin does not create directory in archive if more than one fileset
provides content to it.
> 
> I have found the following.
> 
> Given an assembly descriptor that produces an .tar.gz archive,
> if more than one fileset provides content feeding into the same output 
> directory, the archiver does not create a folder entry in the archive.
> This means that there is nothing to apply a <directoryMode> to, and when 
> the archive is expanded, the default instead of the desired permissions 
> are used in that output directory.
MG>Please file a bug in JIRA
MG>http://jira.codehaus.org/browse/MASSEMBLY
> 
> In other words, given the following:
> 
> <fileSet>
> <directory>src/A</directory>
> <outputDirectory>dest</outputDirectory>
> <includes>
> <include>**</include>
> </includes>
> <fileMode>664</fileMode>
> <directoryMode>775</fileMode>
> </fileSet>
> <fileSet>
> <directory>src/B</directory>
> <outputDirectory>dest</outputDirectory>
> <includes>
> <include>**</include>
> </includes>
> <fileMode>664</fileMode>
> <directoryMode>775</fileMode>
> </fileSet>
> 
> an archive will be produced without a directory entry for dest. When 
> the archive is expanded the permissions of the dest directory will be 
> the default, not 775.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message