Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Blocker
-
Resolution: Unresolved
-
Affects Version/s: 2.4
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Mac OS X 10.6.8
-
Number of attachments :
Description
PlexusIoResourceAttributeUtils tries to execute '/bin/sh -c ls -1lad /Developer/codebase/ABC/pom.xml' and does not get the output it was expecting.
Running that command from the shell only lists the contents of the current directory as a plain 'ls' would.
Enclosing the whole 'ls' command inside quotes as it's passed to '/bin/sh -c' seems to fix the problem. I.e., '/bin/sh -c "ls -1lad /Developer/codebase/ABC/pom.xml"'.
Sorry in advance if this isn't a 'Maven 2.x JAR Plugin' issue or if it's not a blocker; but I don't know a workaround other than not using Maven.