Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: plexus-archiver
-
Labels:None
-
Environment:Linux
-
Number of attachments :
Description
I'm trying to unpack tar.gz artifact like this:
mvn org.apache.maven.plugins:maven-dependency-plugin:2.1:get -DrepoUrl=<repoUrl> -Dartifact=<groupId>:<artifactId>:<version> -Dpackaging=tar.gz
There are files inside this artifact that have dollar sign in their names.
When it comes to settings permissions, maven fails with:
[WARNING] -------------------------------
[WARNING] Standard error:
[WARNING] -------------------------------
[WARNING]
[WARNING] -------------------------------
[WARNING] Standard output:
[WARNING] -------------------------------
[WARNING] chmod: cannot access `/path/to/target/dependency/TheClass.class': No such file or directory
The real name of file in question is TheClass$1.class
I suspect that the problem may be due to lack of escaping in org.codehaus.plexus.archiver.util.ArchiveEntryUtils.chmod()
Activity
| Field | Original Value | New Value |
|---|---|---|
| Attachment | PLXCOMP-164.sh [ 52296 ] |