[ 
https://issues.apache.org/jira/browse/MJAR-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17957235#comment-17957235
 ] 

Matthias Bünger commented on MJAR-151:
--------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-jar-plugin#319|https://github.com/apache/maven-jar-plugin/issues/319].
 

> Error assembling JAR on OS X
> ----------------------------
>
>                 Key: MJAR-151
>                 URL: https://issues.apache.org/jira/browse/MJAR-151
>             Project: Maven JAR Plugin (Moved to GitHub Issues)
>          Issue Type: Bug
>    Affects Versions: 2.4
>         Environment: Mac OS X 10.6.8
>            Reporter: Jason Tovey
>            Assignee: Kristian Rosenvold
>            Priority: Blocker
>             Fix For: 2.6
>
>         Attachments: maven-jar-osx-debug-output.txt
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to