Uploaded image for project: 'Maven JAR Plugin'
  1. Maven JAR Plugin
  2. MJAR-151

Error assembling JAR on OS X

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.4
    • 2.6
    • None
    • None
    • Mac OS X 10.6.8

    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.

      Attachments

        Activity

          People

            krosenvold Kristian Rosenvold
            thx01138 Jason Tovey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: