You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason Tovey (JIRA)" <ji...@codehaus.org> on 2012/02/15 16:31:02 UTC

[jira] (MJAR-151) Error assembling JAR on OS X

Jason Tovey created MJAR-151:
--------------------------------

             Summary: Error assembling JAR on OS X
                 Key: MJAR-151
                 URL: https://jira.codehaus.org/browse/MJAR-151
             Project: Maven 2.x JAR Plugin
          Issue Type: Bug
    Affects Versions: 2.4
         Environment: Mac OS X 10.6.8
            Reporter: Jason Tovey
            Priority: Blocker
         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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira