Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.0.0
-
None
-
None
-
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-12T00:58:10+03:00)
Java version: 1.8.0_51, vendor: Oracle Corporation
Java home: /usr/java/jdk1.8.0_51/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-573.8.1.el6.x86_64", arch: "amd64", family: "unix"Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-12T00:58:10+03:00) Java version: 1.8.0_51, vendor: Oracle Corporation Java home: /usr/java/jdk1.8.0_51/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "2.6.32-573.8.1.el6.x86_64", arch: "amd64", family: "unix"
Description
Used next descriptor:
<assembly> <id>test</id> <formats> <format>zip</format> </formats> <includeBaseDirectory>false</includeBaseDirectory> <fileSets> <fileSet> <directory>bin</directory> <outputDirectory>bin-include</outputDirectory> <includes> <include>*</include> </includes> <directoryMode>700</directoryMode> <fileMode>700</fileMode> </fileSet> <fileSet> <directory>bin</directory> <outputDirectory>bin-no-include</outputDirectory> <directoryMode>700</directoryMode> <fileMode>700</fileMode> </fileSet> </fileSets> </assembly>
For both <filesSets> same directoryMode is set, but for case where <include> pattern is present directory permissions are broken.
Listing:
$ zipinfo target/testpom-1.0.0.zip Archive: target/testpom-1.0.0.zip Zip file size: 502 bytes, number of entries: 4 drwxr-xr-x 2.0 unx 0 b- stor 17-Apr-19 17:48 bin-include/ drwx------ 2.0 unx 0 b- stor 17-Apr-19 15:48 bin-no-include/ -rwx------ 2.0 unx 0 bl defN 17-Apr-19 15:48 bin-include/testfile -rwx------ 2.0 unx 0 bl defN 17-Apr-19 15:48 bin-no-include/testfile
Attachments
Attachments
Issue Links
- links to