[jira] [Commented] (MDEP-572) Truncated filenames extracting tar files.
[ https://issues.apache.org/jira/browse/MDEP-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16059863#comment-16059863 ] Guillaume Boué commented on MDEP-572: - Yes, this was most likely fixed with an upgrade of Commons Compress that came with an upgrade of Plexus Archiver. > Truncated filenames extracting tar files. > - > > Key: MDEP-572 > URL: https://issues.apache.org/jira/browse/MDEP-572 > Project: Maven Dependency Plugin > Issue Type: Bug > Components: unpack >Affects Versions: 2.8, 2.9 >Reporter: Tim Gokcen > Fix For: 2.10 > > > The {{unpack}} goal doesn't handle POSIX.1-2001 long filenames in tar files, > silently truncating file paths to 100 characters. Tarballs that work just > fine with BSD or GNU tar has its filenames truncated by the unpack step > (without any kind of warning or error). > In my particular example, the Tarball was created by the Apache Maven > Assembly Plugin using {{posix}}. > As a work-around, I'm using the org.codehaus.mojo Exec-Maven-Plugin in order > to manually execute tar. > (Aside: another suggested solution, e.g., on [this StackOverflow question > about the > issue|https://stackoverflow.com/questions/26024732/maven-dependency-plugin-unpack-dependencies-cant-support-tar-containing-paths-o] > is to use the Antrun plugin and execute the {{}} task, but the > annoying thing about that is that Ant doesn't respect file permissions when > extracting tar archives) -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MDEP-572) Truncated filenames extracting tar files.
[ https://issues.apache.org/jira/browse/MDEP-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16059843#comment-16059843 ] Tim Gokcen commented on MDEP-572: - After some further experimentation, I can confirm that the tar behaviour is still broken in 2.9 but is fixed in release 2.10. I'm guessing it may have had to do with the plexus-archiver upgrade that was included with that release? > Truncated filenames extracting tar files. > - > > Key: MDEP-572 > URL: https://issues.apache.org/jira/browse/MDEP-572 > Project: Maven Dependency Plugin > Issue Type: Bug > Components: unpack >Affects Versions: 2.8, 2.9 >Reporter: Tim Gokcen > Fix For: 2.10 > > > The {{unpack}} goal doesn't handle POSIX.1-2001 long filenames in tar files, > silently truncating file paths to 100 characters. Tarballs that work just > fine with BSD or GNU tar has its filenames truncated by the unpack step > (without any kind of warning or error). > In my particular example, the Tarball was created by the Apache Maven > Assembly Plugin using {{posix}}. > As a work-around, I'm using the org.codehaus.mojo Exec-Maven-Plugin in order > to manually execute tar. > (Aside: another suggested solution, e.g., on [this StackOverflow question > about the > issue|https://stackoverflow.com/questions/26024732/maven-dependency-plugin-unpack-dependencies-cant-support-tar-containing-paths-o] > is to use the Antrun plugin and execute the {{}} task, but the > annoying thing about that is that Ant doesn't respect file permissions when > extracting tar archives) -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MDEP-572) Truncated filenames extracting tar files.
[ https://issues.apache.org/jira/browse/MDEP-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16059839#comment-16059839 ] Hudson commented on MDEP-572: - UNSTABLE: Integrated in Jenkins build maven-plugins #9010 (See [https://builds.apache.org/job/maven-plugins/9010/]) [MDEP-572] Truncated filenames extracting tar files. Adding IT showing that the plugin keeps the correct file name when unpacking a TAR file with POSIX long file mode containing a file with a very long file name. (gboue: [http://svn.apache.org/viewvc/?view=rev=1799601]) * (add) maven-dependency-plugin/src/it/projects/mdep-572-unpack-tar-long-file * (add) maven-dependency-plugin/src/it/projects/mdep-572-unpack-tar-long-file/child1 * (add) maven-dependency-plugin/src/it/projects/mdep-572-unpack-tar-long-file/child1/assembly.xml * (add) maven-dependency-plugin/src/it/projects/mdep-572-unpack-tar-long-file/child1/pom.xml * (add) maven-dependency-plugin/src/it/projects/mdep-572-unpack-tar-long-file/child1/this-is-an-empty-text-file-with-a-name-that-is-longer-than-100-characters-to-verify-that-the-name-is-fully-kept-when-unpacking-from-a-tar.txt * (add) maven-dependency-plugin/src/it/projects/mdep-572-unpack-tar-long-file/child2 * (add) maven-dependency-plugin/src/it/projects/mdep-572-unpack-tar-long-file/child2/pom.xml * (add) maven-dependency-plugin/src/it/projects/mdep-572-unpack-tar-long-file/invoker.properties * (add) maven-dependency-plugin/src/it/projects/mdep-572-unpack-tar-long-file/pom.xml * (add) maven-dependency-plugin/src/it/projects/mdep-572-unpack-tar-long-file/verify.bsh > Truncated filenames extracting tar files. > - > > Key: MDEP-572 > URL: https://issues.apache.org/jira/browse/MDEP-572 > Project: Maven Dependency Plugin > Issue Type: Bug > Components: unpack >Affects Versions: 2.8 >Reporter: Tim Gokcen > > The {{unpack}} goal doesn't handle POSIX.1-2001 long filenames in tar files, > silently truncating file paths to 100 characters. Tarballs that work just > fine with BSD or GNU tar has its filenames truncated by the unpack step > (without any kind of warning or error). > In my particular example, the Tarball was created by the Apache Maven > Assembly Plugin using {{posix}}. > As a work-around, I'm using the org.codehaus.mojo Exec-Maven-Plugin in order > to manually execute tar. > (Aside: another suggested solution, e.g., on [this StackOverflow question > about the > issue|https://stackoverflow.com/questions/26024732/maven-dependency-plugin-unpack-dependencies-cant-support-tar-containing-paths-o] > is to use the Antrun plugin and execute the {{}} task, but the > annoying thing about that is that Ant doesn't respect file permissions when > extracting tar archives) -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MDEP-572) Truncated filenames extracting tar files.
[ https://issues.apache.org/jira/browse/MDEP-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16059778#comment-16059778 ] Guillaume Boué commented on MDEP-572: - I can't reproduce this problem starting with version 2.10 of the plugin (3.0.0 and 3.0.1 also work correctly). Can you update to this version and report back? I have added an integration test in [r1799601|http://svn.apache.org/viewvc?rev=1799601=rev] showing the correct behaviour with current latest version. > Truncated filenames extracting tar files. > - > > Key: MDEP-572 > URL: https://issues.apache.org/jira/browse/MDEP-572 > Project: Maven Dependency Plugin > Issue Type: Bug > Components: unpack >Affects Versions: 2.8 >Reporter: Tim Gokcen > > The {{unpack}} goal doesn't handle POSIX.1-2001 long filenames in tar files, > silently truncating file paths to 100 characters. Tarballs that work just > fine with BSD or GNU tar has its filenames truncated by the unpack step > (without any kind of warning or error). > In my particular example, the Tarball was created by the Apache Maven > Assembly Plugin using {{posix}}. > As a work-around, I'm using the org.codehaus.mojo Exec-Maven-Plugin in order > to manually execute tar. > (Aside: another suggested solution, e.g., on [this StackOverflow question > about the > issue|https://stackoverflow.com/questions/26024732/maven-dependency-plugin-unpack-dependencies-cant-support-tar-containing-paths-o] > is to use the Antrun plugin and execute the {{}} task, but the > annoying thing about that is that Ant doesn't respect file permissions when > extracting tar archives) -- This message was sent by Atlassian JIRA (v6.4.14#64029)