[
https://jira.codehaus.org/browse/MJAR-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kristian Rosenvold closed MJAR-151.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.5.1
Assignee: Kristian Rosenvold
This issue is probably already fixed for 2.5 ,but is definitely fixed with the
upgrade of plexus archiver 2.6.3. I am closing this as fixed for 2.5.1. Please
re-test with 2.5+ and re-open if problem persists
> Error assembling JAR on OS X
> ----------------------------
>
> Key: MJAR-151
> URL: https://jira.codehaus.org/browse/MJAR-151
> Project: Maven JAR Plugin
> 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.5.1
>
> 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
(v6.1.6#6162)