apache / apache/maven-assembly-plugin

[MASSEMBLY-862] Assembly creation fails on Windows when extracting a tar.gz containing a symbolic link

Open
#1,071 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
110
Forks
75
Avg merge
12h 54m
Merged PRs (30d)
10

Description

**[Axel Fontaine](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=axel.fontaine)** opened **[MASSEMBLY-862](https://issues.apache.org/jira/browse/MASSEMBLY-862?redirect=false)** and commented

Related issue: https://github.com/codehaus-plexus/plexus-archiver/issues/66

Workaround: open console with admin rights

Suggested solution:
The platform the build runs on should not influence the ability to build the assembly. The issue with the Maven Assembly Plugin (which uses the Plexus Archiver) is actually that it depends on the filesystem (and its capabilities on the current platform) to build the archive, whereas it could also build it fully in-memory and be truly platform independent. This should be the default, with maybe an optional flag to revert to disk buffering for extra large payloads.

---

**Affects:** 3.0.0

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the Maven Assembly Plugin's use of Plexus Archiver and the related plexus-archiver issue 66, then reproduce extraction of a tar.gz containing a symbolic link on Windows. Done should mean assembly creation no longer depends on filesystem capabilities or administrator rights, while preserving an option for disk buffering if the proposed design requires it.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.